|
|
@ -2,7 +2,7 @@ |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# |
|
|
|
# Filename: package/.../gcc/parse-config |
|
|
|
# Filename: package/.../gcc/parse-config |
|
|
|
# Copyright (C) 2008 - 2013 The OpenSDE Project |
|
|
|
# Copyright (C) 2008 - 2014 The OpenSDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 2004 - 2006 The T2 SDE Project |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# Copyright (C) 1998 - 2003 Clifford Wolf |
|
|
|
# |
|
|
|
# |
|
|
@ -26,6 +26,12 @@ if [ "${SDECFG_DEFAULT_CC:0:3}" = "gcc" -a "$SDECFG_PKG_GCC_STACKPRO" = 1 ]; the |
|
|
|
else |
|
|
|
else |
|
|
|
echo_warning 'Package incompatible with GCC stack-protector, disabled' |
|
|
|
echo_warning 'Package incompatible with GCC stack-protector, disabled' |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
else |
|
|
|
|
|
|
|
if [ ! "$SDECFG_PKG_GCC_STACKPRO" = 1 ]; then |
|
|
|
|
|
|
|
# some packages have -fstack-protector set by default |
|
|
|
|
|
|
|
# remove -fstack-protector options if SSP is not wanted |
|
|
|
|
|
|
|
var_append GCC_WRAPPER_REMOVE ' ' '-fstack-protector*' |
|
|
|
|
|
|
|
fi |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# maybe we add something more later. But imo it's better to |
|
|
|
# maybe we add something more later. But imo it's better to |
|
|
|