diff options
author | Chris Packham <judge.packham@gmail.com> | 2022-09-13 22:09:47 +1200 |
---|---|---|
committer | Chris Packham <judge.packham@gmail.com> | 2022-09-26 10:51:48 +1300 |
commit | 40c83f1074443a76643d02b1c2d91d0bf4dbc1fa (patch) | |
tree | 6b4544796bee969af9b44c3ac4cb6e039373a0cd /samples/x86_64-centos7-linux-gnu | |
parent | 9d9bee0414e2be38c1a3432b87d40f9512b8d0ce (diff) | |
download | crosstool-ng-40c83f1074443a76643d02b1c2d91d0bf4dbc1fa.tar.gz crosstool-ng-40c83f1074443a76643d02b1c2d91d0bf4dbc1fa.tar.bz2 crosstool-ng-40c83f1074443a76643d02b1c2d91d0bf4dbc1fa.zip |
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>
Diffstat (limited to 'samples/x86_64-centos7-linux-gnu')
-rw-r--r-- | samples/x86_64-centos7-linux-gnu/crosstool.config | 1 |
1 files changed, 1 insertions, 0 deletions
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 |