From 40c83f1074443a76643d02b1c2d91d0bf4dbc1fa Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Tue, 13 Sep 2022 22:09:47 +1200 Subject: 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 --- samples/x86_64-centos7-linux-gnu/crosstool.config | 1 + 1 file changed, 1 insertion(+) (limited to 'samples/x86_64-centos7-linux-gnu') diff --git a/samples/x86_64-centos7-linux-gnu/crosstool.config b/samples/x86_64-centos7-linux-gnu/crosstool.config index cfe8fa42..d018119a 100644 --- a/samples/x86_64-centos7-linux-gnu/crosstool.config +++ b/samples/x86_64-centos7-linux-gnu/crosstool.config @@ -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 -- cgit v1.2.3