Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/gcc/PKGBUILD31
1 files changed, 10 insertions, 21 deletions
diff --git a/core/gcc/PKGBUILD b/core/gcc/PKGBUILD
index 95e0af60..b2d6ed81 100644
--- a/core/gcc/PKGBUILD
+++ b/core/gcc/PKGBUILD
@@ -51,27 +51,6 @@ eval "$(
# i486-specific
-# disable doxygen documentation
-makedepends=(${makedepends[@]//doxygen/})
-makedepends_i686+=('doxygen')
-
-if [ "${CARCH}" = "i486" ]; then
- eval "$(
- declare -f build | \
- sed '
- /make.*doc-man-doxygen/d
- '
- )"
-
- eval "$(
- declare -f package_gcc | \
- sed '
- /make.*doc-man-doxygen/d
- /make.*doc-install-man/d
- '
- )"
-fi
-
# no ADA
makedepends=(${makedepends[@]//gcc-ada/})
makedepends_i686+=('gcc-ada')
@@ -116,6 +95,16 @@ if [ "${CARCH}" = "i486" ]; then
'
)"
+else
+
+ # force enable CET (Control Flow instructions endbr32/enbr64)
+ eval "$(
+ declare -f build | \
+ sed '
+ s/--enable-cet=auto/--enable-cet/
+ '
+ )"
+
fi
makedepends_pentium4=("${makedepends_i686[@]}")