Discarded a build option and removed unnecessary patches in base/gcc

This commit is contained in:
PktSurf 2024-11-09 17:05:46 +05:30
parent 3baa5aff2b
commit ce8d84f5b8

View file

@ -19,9 +19,7 @@ prepbuilddir() {
fixbuilddirpermissions fixbuilddirpermissions
applypatch $srcdir/0001-posix_memalign.patch applypatch $srcdir/0001-posix_memalign.patch
applypatch $srcdir/0002-gcc-poison-system-directories.patch
applypatch $srcdir/0003-specs-turn-on-Wl-z-now-by-default.patch applypatch $srcdir/0003-specs-turn-on-Wl-z-now-by-default.patch
applypatch $srcdir/0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
applypatch $srcdir/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch applypatch $srcdir/0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
applypatch $srcdir/0006-Enable-Wformat-and-Wformat-security-by-default.patch applypatch $srcdir/0006-Enable-Wformat-and-Wformat-security-by-default.patch
applypatch $srcdir/0007-Enable-Wtrampolines-by-default.patch applypatch $srcdir/0007-Enable-Wtrampolines-by-default.patch
@ -65,7 +63,6 @@ build() {
--disable-libsanitizer \ --disable-libsanitizer \
--with-system-zlib \ --with-system-zlib \
--with-linker-hash-style=gnu \ --with-linker-hash-style=gnu \
--disable-libquadmadth \
--enable-shared \ --enable-shared \
--enable-threads \ --enable-threads \
--enable-tls --enable-tls
@ -92,9 +89,7 @@ build() {
sha512sums=" sha512sums="
f5664cb074db27a5acc82d6fecbd5183df0df724cadad9a595a6296a061b66c97cf0dd29d475924369926f1e7f9131e658099ece24382c35053bb73a53ecc9ce gcc-13.2.0.tar.lz f5664cb074db27a5acc82d6fecbd5183df0df724cadad9a595a6296a061b66c97cf0dd29d475924369926f1e7f9131e658099ece24382c35053bb73a53ecc9ce gcc-13.2.0.tar.lz
1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch 1ecffba1b07d60e1b4422302b032bbea918b674c8e12b30aa6965b544d700ce86b61e9f7b8d402c6caf59257f491a394dd0912f0948565d6eae9335ee54f3b35 0001-posix_memalign.patch
163f282455b6a4df33f011bcd8b0440566ba0ffaeeab30d8ac52d39948980a56881ca0eff60687129d59556389a58b9d64e7768750bd70b1fe0fedbc9fc30dc2 0002-gcc-poison-system-directories.patch
3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch 3f24bb6a50d3c45b71ea05590e32fe3e69b91377ab185352891d5035c76ed193117c6d0b314a4c364bcf136b9a9dd5c926d6c7c30ab436976c121ebfea8d3ddd 0003-specs-turn-on-Wl-z-now-by-default.patch
17a2993027d3ddf8595952ebcae425695ddc7b1cf73b384d2e55fddecb9cbf3f6482860a502ff69b14075e12badf27300fd3039f3a9005e851fd8d121d258c2b 0004-Turn-on-D_FORTIFY_SOURCE-2-by-default-for-C-C-ObjC-O.patch
444550e55491ff89fe8cbbb4b73d017c9c147cdce1ad5c0561fe7d6ab3834515a814c7676c408cfeec18e1aaace27b3c26a2ffe4a75042285df5124976c38672 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch 444550e55491ff89fe8cbbb4b73d017c9c147cdce1ad5c0561fe7d6ab3834515a814c7676c408cfeec18e1aaace27b3c26a2ffe4a75042285df5124976c38672 0005-On-linux-targets-pass-as-needed-by-default-to-the-li.patch
5a5f57e4e45745bb4d9d63d7d410fe9dd56ce12dbd70c376dd45015909307faf02391e75368e4e7404591614a874cee41b20652cf27be234765d6db97ceb4e7e 0006-Enable-Wformat-and-Wformat-security-by-default.patch 5a5f57e4e45745bb4d9d63d7d410fe9dd56ce12dbd70c376dd45015909307faf02391e75368e4e7404591614a874cee41b20652cf27be234765d6db97ceb4e7e 0006-Enable-Wformat-and-Wformat-security-by-default.patch
3a2b22388398a93dae7787e794cd580b9c577326f286241e086120c1fcfdd9228c2e00407088ebb163fb1acc21722c199071343551c989a958dc3c845b15132d 0007-Enable-Wtrampolines-by-default.patch 3a2b22388398a93dae7787e794cd580b9c577326f286241e086120c1fcfdd9228c2e00407088ebb163fb1acc21722c199071343551c989a958dc3c845b15132d 0007-Enable-Wtrampolines-by-default.patch