]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 3662d4ad31bbbdb21e3b36bf9a8fadeb6a2bba74..4f80caebcea921ae1dd2b965a8087988900f81e1 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'