summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/package.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/package.mk b/mk/package.mk
index f1a044683..85efb2838 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -7,6 +7,7 @@ ifeq ($(ADK_STATIC),y)
TCFLAGS:= ${TARGET_CFLAGS} -static
TCXXFLAGS:= ${TARGET_CFLAGS} -static
TCPPFLAGS:= ${TARGET_CPPFLAGS} -static
+endif
ifeq ($(ADK_NATIVE),y)
TCFLAGS:=
TCXXFLAGS:=
@@ -20,7 +21,7 @@ TLDFLAGS:= ${TARGET_LDFLAGS} -Wl,-rpath -Wl,/usr/lib \
-Wl,-rpath-link -Wl,${STAGING_DIR}/usr/lib \
-L${STAGING_DIR}/lib -L${STAGING_DIR}/usr/lib
endif
-endif
+
ifeq ($(ADK_DEBUG),)
TCPPFLAGS+= -DNDEBUG
endif