summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--project/extras.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/project/extras.mk b/project/extras.mk
index 659d2dd..900db9c 100644
--- a/project/extras.mk
+++ b/project/extras.mk
@@ -2,14 +2,12 @@ CFLAGS_SHARED_ATTR += -DSLBT_PRE_ALPHA -DSLBT_EXPORT
CFLAGS_STATIC_ATTR += -DSLBT_PRE_ALPHA -DSLBT_STATIC
CFLAGS_APP_ATTR += -DSLBT_APP
-CFLAGS_MACHINE := -DSLBT_MACHINE=\"$(shell $(CC) $(CFLAGS) -dumpmachine)\"
+CFLAGS_MACHINE := -DSLBT_MACHINE=\"$(CC_HOST)\"
+CFLAGS_ONCE += $(CFLAGS_MACHINE)
src/driver/slbt_driver_ctx.o: version.tag
src/driver/slbt_driver_ctx.lo: version.tag
-src/driver/slbt_driver_ctx.o: CFLAGS += $(CFLAGS_MACHINE)
-src/driver/slbt_driver_ctx.lo: CFLAGS += $(CFLAGS_MACHINE)
-
install-app-extras: DBGNAME = dlibtool
install-app-extras: LEGABITS = clibtool
install-app-extras: RAPUNZEL = rlibtool