[test-suite] r220436 - Fix the 400.perlbench Makefile to add -fgnu89-inline on Linux

Hal Finkel hfinkel at anl.gov
Wed Oct 22 15:30:11 PDT 2014


Author: hfinkel
Date: Wed Oct 22 17:30:11 2014
New Revision: 220436

URL: http://llvm.org/viewvc/llvm-project?rev=220436&view=rev
Log:
Fix the 400.perlbench Makefile to add -fgnu89-inline on Linux

This is necessary both on x86_64 and PPC64 Linux using glibc 2.12 and 2.15. It
is related to the fact that a header file in this test undefs a number of libc
macros exposing the underlying function definitions.

Modified:
    test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile

Modified: test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile?rev=220436&r1=220435&r2=220436&view=diff
==============================================================================
--- test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile (original)
+++ test-suite/trunk/External/SPEC/CINT2006/400.perlbench/Makefile Wed Oct 22 17:30:11 2014
@@ -34,6 +34,10 @@ else
   CPPFLAGS += -D__BIG_ENDIAN__
 endif
 
+ifeq ($(TARGET_OS),Linux)
+  TEST_TARGET_FLAGS += -fgnu89-inline
+endif
+
 Source = av.c deb.c doio.c doop.c dump.c globals.c gv.c hv.c locale.c mg.c     \
          numeric.c op.c pad.c perl.c perlapi.c perlio.c perlmain.c perly.c     \
          pp.c pp_ctl.c pp_hot.c pp_pack.c pp_sort.c pp_sys.c regcomp.c         \





More information about the llvm-commits mailing list