summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2014-12-15 23:58:21 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2014-12-15 23:58:21 +0000
commit985e4f5f9e7d7c85cf0ef8c04f7883e8918bc83d (patch)
tree9a270b27ff203c90408da51e3a7ad49c6268ffbe /package
parent8ff39bd9c872ec3bb3b3eb7a6f2b500c73cbb9e1 (diff)
downloads6-985e4f5f9e7d7c85cf0ef8c04f7883e8918bc83d.tar.xz
Test _XOPEN_SOURCE=700, fix include order in Makefile
Diffstat (limited to 'package')
-rw-r--r--package/targets.mak15
1 files changed, 8 insertions, 7 deletions
diff --git a/package/targets.mak b/package/targets.mak
index 9387792..2373458 100644
--- a/package/targets.mak
+++ b/package/targets.mak
@@ -1,4 +1,4 @@
-BIN_TARGETS = \
+BIN_TARGETS := \
s6-ftrigrd \
s6-ftrig-listen1 \
s6-ftrig-listen \
@@ -26,11 +26,12 @@ s6-softlimit \
s6-tai64n \
s6-tai64nlocal
-LIBEXEC_TARGETS = \
-s6lockd-helper
+LIBEXEC_TARGETS := s6lockd-helper
-SHARED_LIBS = \
-libs6.so
+ifdef DO_SHARED
+SHARED_LIBS := libs6.so
+endif
-STATIC_LIBS = \
-libs6.a
+ifdef DO_STATIC
+STATIC_LIBS := libs6.a
+endif