samples: Disable CC_GCC_ENABLE_DEFAULT_PIE with older glibc

glibc versions prior to 2.23 don't compile successfully with
--enable-default-pie. While it would be nice to automatically prevent
this from being selectable the simplest thing is to update the sample
configs that use the older glibc versions to avoid the problem.

Fixes #1819
Signed-off-by: Chris Packham <judge.packham@gmail.com>
This commit is contained in:
Chris Packham 2022-09-13 22:09:47 +12:00
parent 9d9bee0414
commit 40c83f1074
3 changed files with 3 additions and 0 deletions

View File

@ -7,4 +7,5 @@ CT_KERNEL_LINUX=y
CT_LINUX_V_3_13=y
# CT_KERNEL_LINUX_INSTALL_CHECK is not set
CT_GLIBC_V_2_19=y
# CT_CC_GCC_ENABLE_DEFAULT_PIE is not set
CT_CC_LANG_CXX=y

View File

@ -7,4 +7,5 @@ CT_KERNEL_LINUX=y
CT_LINUX_V_3_10=y
# CT_KERNEL_LINUX_INSTALL_CHECK is not set
CT_GLIBC_V_2_17=y
# CT_CC_GCC_ENABLE_DEFAULT_PIE is not set
CT_CC_LANG_CXX=y

View File

@ -7,4 +7,5 @@ CT_KERNEL_LINUX=y
CT_LINUX_V_3_13=y
# CT_KERNEL_LINUX_INSTALL_CHECK is not set
CT_GLIBC_V_2_19=y
# CT_CC_GCC_ENABLE_DEFAULT_PIE is not set
CT_CC_LANG_CXX=y