summaryrefslogtreecommitdiff
path: root/package/cups
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-04-13 04:53:20 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-04-13 04:53:20 +0200
commit92623154c7b3edde7bf4812530e4db9de2779283 (patch)
tree4d9a5df1ec44939ce4731af80a56471643eaf815 /package/cups
parent4090002fc466e4319c95ab214c3f92ecc7b59184 (diff)
parent933e74c07231e815bbfd9ed90073308eaf253a00 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: package/mpfr/Makefile
Diffstat (limited to 'package/cups')
-rw-r--r--package/cups/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/cups/Makefile b/package/cups/Makefile
index d57bda49a..762f1832a 100644
--- a/package/cups/Makefile
+++ b/package/cups/Makefile
@@ -43,7 +43,11 @@ CONFIGURE_ARGS+= --with-cups-user=cups \
--disable-ssl
FAKE_FLAGS+= DSTROOT="${WRKINST}" STRIP="/bin/true"
+ifeq ($(ADK_TOOLCHAIN_GCC_USE_SSP),y)
+XAKE_FLAGS+= OPTIM='-fPIC -fstack-protector'
+else
XAKE_FLAGS+= OPTIM='-fPIC'
+endif
post-install:
${INSTALL_DIR} ${IDIR_CUPS}/usr/bin