xbps-src: added "build_pie" var to build PIE binaries.
This commit is contained in:
parent
ba8a93a9c6
commit
9870868948
|
@ -0,0 +1 @@
|
||||||
|
../configure/build-pie.sh
|
|
@ -0,0 +1,4 @@
|
||||||
|
if [ -n "$build_pie" ]; then
|
||||||
|
CFLAGS+=" -fPIE"
|
||||||
|
LDFLAGS+=" -pie"
|
||||||
|
fi
|
|
@ -8,7 +8,7 @@ unset -v configure_script configure_args wrksrc build_wrksrc create_wrksrc
|
||||||
unset -v make_cmd make_build_args make_install_args make_build_target make_install_target python_versions
|
unset -v make_cmd make_build_args make_install_args make_build_target make_install_target python_versions
|
||||||
unset -v patch_args disable_parallel_build keep_libtool_archives
|
unset -v patch_args disable_parallel_build keep_libtool_archives
|
||||||
unset -v reverts subpackages makedepends hostmakedepends depends
|
unset -v reverts subpackages makedepends hostmakedepends depends
|
||||||
unset -v build_options build_options_default bootstrap repository reverts
|
unset -v build_pie build_options build_options_default bootstrap repository reverts
|
||||||
unset -v CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
|
unset -v CFLAGS CXXFLAGS CPPFLAGS LDFLAGS LD_LIBRARY_PATH
|
||||||
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF
|
unset -v CC CXX CPP GCC LD AR AS RANLIB NM OBJDUMP OBJCOPY STRIP READELF
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue