Programming/gcc/build:

- no need to patch gcc 4.9.4
This commit is contained in:
2016-09-14 11:31:24 +02:00
parent e51a55e83c
commit bcf63575fb

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env modbuild
pbuild::patch_sources_Darwin() {
if [[ "${V_MAJOR}" == "4" ]]; then
if (( V_MAJOR == 4 && V_MINOR <= 8 )) || \
(( V_MAJOR == 4 && V_MINOR == 9 && V_PATCHLVL < 4)); then
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/non-dead-strip.patch"
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/configure-as.patch"
fi