[test-suite] r263153 - Makefile/176.gcc: Add -std=gnu89 CFLAG

Matthias Braun via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 11:05:09 PST 2016


Author: matze
Date: Thu Mar 10 13:05:09 2016
New Revision: 263153

URL: http://llvm.org/viewvc/llvm-project?rev=263153&view=rev
Log:
Makefile/176.gcc: Add -std=gnu89 CFLAG

The -std=gnu89 flag is necessary to build this benchmark with SPEC 2000 v1.3
(we need traditional extern inline semantics), the flag should not hurt for
earlier SPEC 2000 versions.

Modified:
    test-suite/trunk/External/SPEC/CINT2000/176.gcc/Makefile

Modified: test-suite/trunk/External/SPEC/CINT2000/176.gcc/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/176.gcc/Makefile?rev=263153&r1=263152&r2=263153&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/176.gcc/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/176.gcc/Makefile Thu Mar 10 13:05:09 2016
@@ -17,6 +17,7 @@ RUN_OPTIONS     = 200.i -o - -quiet
 STDOUT_FILENAME = 200.s
 endif
 
+CPPFLAGS += -std=gnu89
 ifeq ($(ENDIAN),big)
   CPPFLAGS += -DHOST_WORDS_BIG_ENDIAN
 endif




More information about the llvm-commits mailing list