[llvm-commits] [llvm] r38487 - /llvm/trunk/tools/llvm-config/Makefile
Reid Spencer
reid at x10sys.com
Tue Jul 10 00:21:34 PDT 2007
Author: reid
Date: Tue Jul 10 02:21:34 2007
New Revision: 38487
URL: http://llvm.org/viewvc/llvm-project?rev=38487&view=rev
Log:
Makesure the -cppflags also uses the CPP.BaseFlags as the CPP.Defines only
contains some of the defines but not all CPP flags.
Modified:
llvm/trunk/tools/llvm-config/Makefile
Modified: llvm/trunk/tools/llvm-config/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-config/Makefile?rev=38487&r1=38486&r2=38487&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-config/Makefile (original)
+++ llvm/trunk/tools/llvm-config/Makefile Tue Jul 10 02:21:34 2007
@@ -20,8 +20,8 @@
ifeq ($(HAVE_PERL),1)
# Combine preprocessor flags (except for -I) and CXX flags.
-SUB_CPPFLAGS = ${CPP.Defines}
-SUB_CFLAGS = ${CPP.BaseFlags} ${C.Flags}
+SUB_CPPFLAGS = ${CPP.BaseFlags}
+SUB_CFLAGS = ${CPP.BaseFlags} ${C.Flags}
SUB_CXXFLAGS = ${CPP.BaseFlags} ${CXX.Flags}
# This is blank for now. We need to be careful about adding stuff here:
More information about the llvm-commits
mailing list