Not believing all those CFLAGS and CXXFLAGS were really necessary I
started running iterative builds. The first thing of note was that
C_EXTRA_FLAGS is what we should be modifying so that we don't clobber
the default optimizations (or have to add the defaults to our
environment. After that, it left me with:

C_EXTRA_FLAGS="-DUNDEF_HAVE_INITGROUPS -fno-strict-aliasing \
-felide-constructors" ./configure <..>

Then I took one flag out at a time and rebuilt/tested. The winning
result was

C_EXTRA_FLAGS="-fno-strict-aliasing" ./configure <..>

I finished the install and config and started, added a user, logged out.

I did not time nor size the build. There is no valid SBU for this test
server.

-- 
Archaic

Want control, education, and security from your operating system?
Hardened Linux From Scratch
http://www.linuxfromscratch.org/hlfs

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to