[llvm-commits] [dragonegg] r172790 - /dragonegg/trunk/Makefile
NAKAMURA Takumi
geek4civic at gmail.com
Thu Jan 17 22:30:45 PST 2013
Author: chapuni
Date: Fri Jan 18 00:30:45 2013
New Revision: 172790
URL: http://llvm.org/viewvc/llvm-project?rev=172790&view=rev
Log:
Makefile: Corresponding to r172787, "Backend.cpp: s/TARGET_NAME/TARGET_TRIPLE/ Also TARGET_TRIPLE can be normalized as well as TARGET_NAME."
I forgot to commit it by mistake, sorry.
Modified:
dragonegg/trunk/Makefile
Modified: dragonegg/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/Makefile?rev=172790&r1=172789&r2=172790&view=diff
==============================================================================
--- dragonegg/trunk/Makefile (original)
+++ dragonegg/trunk/Makefile Fri Jan 18 00:30:45 2013
@@ -80,6 +80,7 @@
-fno-rtti \
-MD -MP \
-DIN_GCC -DLLVM_VERSION=\"$(LLVM_VERSION)\" \
+ -DTARGET_TRIPLE=\"$(TARGET_TRIPLE)\" \
-DGCC_MAJOR=$(GCC_MAJOR) -DGCC_MINOR=$(GCC_MINOR) \
-DGCC_MICRO=$(GCC_MICRO) \
-I$(INCLUDE_DIR) -isystem$(GCC_PLUGIN_DIR)/include
@@ -96,8 +97,7 @@
endif
# NOTE: The following flags can only be used after TARGET_UTIL has been built.
-TARGET_HEADERS+=-DTARGET_NAME=\"$(shell $(TARGET_UTIL) -t)\" \
- -I$(INCLUDE_DIR)/$(shell $(TARGET_UTIL) -p) \
+TARGET_HEADERS+=-I$(INCLUDE_DIR)/$(shell $(TARGET_UTIL) -p) \
-I$(INCLUDE_DIR)/$(shell $(TARGET_UTIL) -o)
ifdef VERBOSE
@@ -122,7 +122,7 @@
$(TARGET_UTIL_OBJECTS): %.o : $(TOP_DIR)/utils/%.cpp
@echo Compiling utils/$*.cpp
- $(QUIET)$(CXX) -c -DTARGET_TRIPLE=\"$(TARGET_TRIPLE)\" \
+ $(QUIET)$(CXX) -c \
$(CPP_OPTIONS) $(CXXFLAGS) $<
$(TARGET_UTIL): $(TARGET_UTIL_OBJECTS)
More information about the llvm-commits
mailing list