Programming/gcc

- work-around issue with empty functions and ld64 on Darwin
This commit is contained in:
2017-01-24 15:59:34 +01:00
parent 4b02502e1f
commit 3a4fb0cc2d
2 changed files with 397 additions and 0 deletions

View File

@@ -6,6 +6,9 @@ pbuild::patch_sources_Darwin() {
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/non-dead-strip.patch"
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/configure-as.patch"
fi
if (( V_MAJOR == 5 )); then
patch -p1 < "${BUILD_BLOCK_DIR}/${V_MAJOR}/PR57438_avoiding_empty_function_bodies_and_trailing_labels.patch"
fi
}
pbuild::configure() {