summaryrefslogtreecommitdiffhomepage
path: root/sofort
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-19 03:21:59 -0400
committermidipix <writeonce@midipix.org>2016-05-19 03:24:22 -0400
commitc5c9ea4ee039e61eab3a4793fc1495d77bb5ca1a (patch)
treefa382243cc093daf4dab5bcb08ac293d6c5321ca /sofort
parent990ef343fab3da29230dc3cbc78ee12237f99594 (diff)
downloadslibtool-c5c9ea4ee039e61eab3a4793fc1495d77bb5ca1a.tar.bz2
slibtool-c5c9ea4ee039e61eab3a4793fc1495d77bb5ca1a.tar.xz
build system: added support for [C|LD]FLAGS_LAST and [C|LD]FLAGS_ONCE.
Diffstat (limited to 'sofort')
-rw-r--r--sofort/defs.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/sofort/defs.mk b/sofort/defs.mk
index 11cec0f..5810783 100644
--- a/sofort/defs.mk
+++ b/sofort/defs.mk
@@ -42,7 +42,8 @@ STATIC_APP = bin/$(OS_APP_PREFIX)$(NICKNAME)-static$(OS_APP_SUFFIX)
CFLAGS = $(CFLAGS_DEBUG) $(CFLAGS_CONFIG) $(CFLAGS_SYSROOT) \
$(CFLAGS_COMMON) $(CFLAGS_CMDLINE) $(CFLAGS_HOST) \
$(CFLAGS_PATH) $(CFLAGS_OS) $(CFLAGS_SITE) \
- $(CFLAGS_VERSION) $(CFLAGS_STRICT)
+ $(CFLAGS_VERSION) $(CFLAGS_STRICT) \
+ $(CFLAGS_LAST) $(CFLAGS_ONCE)
CFLAGS_SHARED = $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
CFLAGS_STATIC = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
@@ -51,14 +52,14 @@ CFLAGS_APP = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_APP_ATTR) $(CFLAGS_UTIL)
LDFLAGS_SHARED = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
$(LDFLAGS_PATH) $(SHARED_LIB_DEPS) $(LDFLAGS_STRICT) \
- $(LDFLAGS_LAST)
+ $(LDFLAGS_LAST) $(LDFLAGS_ONCE)
LDFLAGS_APP = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
$(LDFLAGS_PATH) $(SHARED_APP_DEPS) $(LDFLAGS_STRICT) \
- $(LDFLAGS_UTIL) $(LDFLAGS_LAST)
+ $(LDFLAGS_UTIL) $(LDFLAGS_LAST) $(LDFLAGS_ONCE)
LDFLAGS_STATIC = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
$(LDFLAGS_PATH) $(STATIC_APP_DEPS) $(LDFLAGS_STRICT) \
- $(LDFLAGS_LAST)
+ $(LDFLAGS_LAST) $(LDFLAGS_ONCE)