[test-suite] r286985 - [test-suite] Always use -std=gnu89 for 253.perlbmk
Johannes Doerfert via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 15 09:14:49 PST 2016
Author: jdoerfert
Date: Tue Nov 15 11:14:49 2016
New Revision: 286985
URL: http://llvm.org/viewvc/llvm-project?rev=286985&view=rev
Log:
[test-suite] Always use -std=gnu89 for 253.perlbmk
If this flag is not present the different "external inline" behaviour
will cause link time problems. In r261470 this option was already added
to the CMakeLists.txt but not to the Makefile.
Differential Revision: https://reviews.llvm.org/D26680
Modified:
test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile
Modified: test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile?rev=286985&r1=286984&r2=286985&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2000/253.perlbmk/Makefile Tue Nov 15 11:14:49 2016
@@ -7,6 +7,7 @@ SPEC_ROOT := $(SPEC2000_ROOT)
include $(PROJ_SRC_ROOT)/External/SPEC/Makefile.spec.config
CPPFLAGS += -DSPEC_CPU2000_LINUX_I386 -DSPEC_CPU2000_NEED_BOOL
+CFLAGS += -std=gnu89
# Not sure why this is needed.
ifndef RUN_TYPE
More information about the llvm-commits
mailing list