summaryrefslogtreecommitdiffhomepage
path: root/project/defs.mk
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-05-06 18:10:14 -0400
committermidipix <writeonce@midipix.org>2016-05-06 18:24:26 -0400
commit1e6e10ba0b40131d3dc87da149b97d98b7babcda (patch)
treeb28b9f1f587766968ab9f4d26fcd97d0a01634be /project/defs.mk
parent0520e30b31d0734689cc5b5d237f00032e6284ec (diff)
downloadslibtool-1e6e10ba0b40131d3dc87da149b97d98b7babcda.tar.bz2
slibtool-1e6e10ba0b40131d3dc87da149b97d98b7babcda.tar.xz
build system: added --strict, --ccstrict, --ldstrict support.
Diffstat (limited to 'project/defs.mk')
-rw-r--r--project/defs.mk12
1 files changed, 7 insertions, 5 deletions
diff --git a/project/defs.mk b/project/defs.mk
index 09e54bd..11cec0f 100644
--- a/project/defs.mk
+++ b/project/defs.mk
@@ -42,7 +42,7 @@ 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_VERSION) $(CFLAGS_STRICT)
CFLAGS_SHARED = $(CFLAGS) $(CFLAGS_PIC) $(CFLAGS_SHARED_ATTR)
CFLAGS_STATIC = $(CFLAGS) $(CFLAGS_OBJ) $(CFLAGS_STATIC_ATTR)
@@ -50,13 +50,15 @@ 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_LAST)
+ $(LDFLAGS_PATH) $(SHARED_LIB_DEPS) $(LDFLAGS_STRICT) \
+ $(LDFLAGS_LAST)
LDFLAGS_APP = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
- $(LDFLAGS_PATH) $(SHARED_APP_DEPS) $(LDFLAGS_LAST) \
- $(LDFLAGS_UTIL)
+ $(LDFLAGS_PATH) $(SHARED_APP_DEPS) $(LDFLAGS_STRICT) \
+ $(LDFLAGS_UTIL) $(LDFLAGS_LAST)
LDFLAGS_STATIC = $(LDFLAGS_DEBUG) $(LDFLAGS_CONFIG) $(LDFLAGS_SYSROOT) \
$(LDFLAGS_COMMON) $(LDFLAGS_CMDLINE) $(LDFLAGS_HOST) \
- $(LDFLAGS_PATH) $(STATIC_APP_DEPS) $(LDFLAGS_LAST)
+ $(LDFLAGS_PATH) $(STATIC_APP_DEPS) $(LDFLAGS_STRICT) \
+ $(LDFLAGS_LAST)