Putting back the -ansi for CFLAGS, would not compile in lhapdf otherwise (thanks...
authorrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 15:57:25 +0000 (15:57 +0000)
committerrgrosso <rgrosso@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 9 Oct 2013 15:57:25 +0000 (15:57 +0000)
cmake/CMakelinuxx8664gcc.cmake

index 3662d4a..4f80cae 100644 (file)
@@ -77,7 +77,7 @@ else ()
 
 endif(CCMAJORV STREQUAL "2")
 
-set(CFLAGS     "${OPT} -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors")
+set(CFLAGS     "${OPT} -Wall -Werror -fPIC -pipe -Wno-long-long -pedantic-errors -ansi")
 set(FFLAGS "${CLIBFOPT} ${FOPT} -fPIC -fno-second-underscore -fPIC -fno-f2c")
 
 execute_process(COMMAND find /lib64 -name 'libNoVersion*.so'