summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-18 15:34:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-18 15:34:13 +0100
commit902ee7e7b23751ca7a8264d36a837aa4aae12032 (patch)
tree56c6b37cd9afd91d176cd75acb77bf32ccd20378 /mk
parent3d45df344602687c8983f5fb609721aa8ca2469f (diff)
parent52dbdcd1045c7a8ad96753593540719cff9f8863 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk')
-rw-r--r--mk/package.mk4
-rw-r--r--mk/vars.mk1
2 files changed, 5 insertions, 0 deletions
diff --git a/mk/package.mk b/mk/package.mk
index cab7b6947..bacee71f4 100644
--- a/mk/package.mk
+++ b/mk/package.mk
@@ -3,6 +3,10 @@
all: build-all-pkgs
+ifeq ($(ADK_HOST_CYGWIN),y)
+EXEEXT:= .exe
+endif
+
TCFLAGS:= ${TARGET_CFLAGS}
TCXXFLAGS:= ${TARGET_CFLAGS}
TCPPFLAGS:= ${TARGET_CPPFLAGS}
diff --git a/mk/vars.mk b/mk/vars.mk
index 8bbb7765b..ab247901f 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -21,6 +21,7 @@ endif
TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) $(TARGET_DEBUGGING) -fwrapv
ifneq ($(ADK_TOOLCHAIN_GCC_USE_SSP),)
TARGET_CFLAGS+= -fstack-protector
+TARGET_CXXFLAGS+= -fstack-protector
TARGET_LDFLAGS+= -fstack-protector
endif
ifneq ($(ADK_TOOLCHAIN_GCC_USE_LTO),)