about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-10-05 17:47:18 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-10-05 17:47:18 +0000
commitbe91976103cab950f954aa9a8e6a6fcdc939a167 (patch)
tree7facc968415669361e5467ed2d3065f5471d5455 /Makefile
parentc365aeb0721d3749bb5f94f09a3ad97ec6131805 (diff)
downloadskalibs-be91976103cab950f954aa9a8e6a6fcdc939a167.tar.gz
skalibs-be91976103cab950f954aa9a8e6a6fcdc939a167.tar.xz
skalibs-be91976103cab950f954aa9a8e6a6fcdc939a167.zip
Better *FLAGS management; prepare for 2.6.0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 3d09770..f8b1a0a 100644
--- a/Makefile
+++ b/Makefile
@@ -20,11 +20,11 @@ include package/deps.mak
 version_m := $(basename $(version))
 version_M := $(basename $(version_m))
 version_l := $(basename $(version_M))
-CPPFLAGS_ALL := -Isrc/include $(CPPFLAGS)
-CFLAGS_ALL := $(CFLAGS) -pipe -Wall
+CPPFLAGS_ALL := $(CPPFLAGS_AUTO) $(CPPFLAGS)
+CFLAGS_ALL := $(CFLAGS_AUTO) $(CFLAGS)
 CFLAGS_SHARED := -fPIC
-LDFLAGS_ALL := $(LDFLAGS)
-LDLIBS_ALL := $(LDLIBS)
+LDFLAGS_ALL := $(LDFLAGS_AUTO) $(LDFLAGS)
+LDLIBS_ALL := $(LDLIBS_AUTO) $(LDLIBS)
 REALCC = $(CROSS_COMPILE)$(CC)
 AR := $(CROSS_COMPILE)ar
 RANLIB := $(CROSS_COMPILE)ranlib