diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-18 15:34:13 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-01-18 15:34:13 +0100 |
commit | 902ee7e7b23751ca7a8264d36a837aa4aae12032 (patch) | |
tree | 56c6b37cd9afd91d176cd75acb77bf32ccd20378 /mk | |
parent | 3d45df344602687c8983f5fb609721aa8ca2469f (diff) | |
parent | 52dbdcd1045c7a8ad96753593540719cff9f8863 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk')
-rw-r--r-- | mk/package.mk | 4 | ||||
-rw-r--r-- | mk/vars.mk | 1 |
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),) |