summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-02 20:32:30 -0500
committermidipix <writeonce@midipix.org>2018-12-10 20:34:29 -0500
commit5f22deaa92b82165ab290af6fbf7dee6bcd704da (patch)
treed3d045b09b540b649c7a5ebe5bb4076214158016 /Makefile.in
parent81dff2701e03590c2bf12a95b0b9a1c4f0cf2704 (diff)
downloadbcparser-5f22deaa92b82165ab290af6fbf7dee6bcd704da.tar.bz2
bcparser-5f22deaa92b82165ab290af6fbf7dee6bcd704da.tar.xz
build system: added NATIVE_CC_HOST support.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 208a2ed..89d4904 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -84,6 +84,8 @@ PDFDIR = @pdfdir@
PSDIR = @psdir@
NATIVE_CC = @native_cc@
+NATIVE_CC_HOST = @native_cc_host@
+
NATIVE_OS = @native_os@
NATIVE_OS_BITS = @native_os_bits@
NATIVE_OS_UNDERSCORE = @native_os_underscore@
@@ -251,6 +253,9 @@ host.tag: Makefile
$(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(CC)" --cflags="$(CFLAGS)"
touch host.tag
+cchost-native:
+ $(PROJECT_DIR)/sysinfo/host/host.sh --compiler="$(NATIVE_CC)"
+
version.tag: $(GIT_REFERENCE_INDEX)
$(PROJECT_DIR)/sysinfo/version.sh \
-s $(SOURCE_DIR) \
@@ -412,6 +417,8 @@ clean: clean-implib
.display-build:
@echo NATIVE_CC:' '$(NATIVE_CC)
+ @echo NATIVE_CC_HOST:' '$(NATIVE_CC_HOST)
+ @echo
@echo NATIVE_OS:' '$(NATIVE_OS)
@echo NATIVE_OS_BITS:' '$(NATIVE_OS_BITS)
@echo NATIVE_OS_UNDERSCORE:' '$(NATIVE_OS_UNDERSCORE)
@@ -438,7 +445,7 @@ clean: clean-implib
@echo $(CFLAGS)
-.PHONY: cchost package-app \
+.PHONY: cchost cchost-native package-app \
all install shared static app \
shared-objs shared-lib \
shared-soname shared-solink \