From 9f8b7230b969fde154cf06de3ee36fe14636371b Mon Sep 17 00:00:00 2001 From: giraffedata Date: Wed, 30 Oct 2013 18:57:38 +0000 Subject: Use SSE stuff with Clang as for GCC git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@2027 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- config.mk.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'config.mk.in') diff --git a/config.mk.in b/config.mk.in index 307c6480..bc1d2804 100644 --- a/config.mk.in +++ b/config.mk.in @@ -93,7 +93,10 @@ HAVE_INT64 = Y # standard SSE intrinsics (operators such as '_mm_movemask_epi8'). SSE # instructions are faster than traditional instructions, but aren't available # on all CPUs. Also, the standard intrinsics are not available in all -# compilers. +# compilers. Even if you say N here, Netpbm may still be built with some +# SSE exploitation (e.g. SSE floating point) because the compiler will +# do it automatically. You can add a -nomsse or -nomsse2 option to +# CFLAGS or CFLAGS_PERSONAL to stop that. WANT_SSE = N #WANT_SSE = Y @@ -104,7 +107,7 @@ WANT_SSE = N # to use to compile and link build tools. CC_FOR_BUILD = $(CC) LD_FOR_BUILD = $(LD) -CFLAGS_FOR_BUILD = $(CFLAGS) +CFLAGS_FOR_BUILD = $(CFLAGS_CONFIG) LDFLAGS_FOR_BUILD = $(LDFLAGS) # MAKE is set automatically by Make to what was used to invoke Make. -- cgit 1.4.1