diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-freebsd/boot0/files/boot0-11.0-gcc46.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-freebsd/boot0/files/boot0-11.0-gcc46.patch')
-rw-r--r-- | sys-freebsd/boot0/files/boot0-11.0-gcc46.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-freebsd/boot0/files/boot0-11.0-gcc46.patch b/sys-freebsd/boot0/files/boot0-11.0-gcc46.patch new file mode 100644 index 000000000000..ec17d92b5790 --- /dev/null +++ b/sys-freebsd/boot0/files/boot0-11.0-gcc46.patch @@ -0,0 +1,14 @@ +diff --git a/sys/boot/i386/boot2/Makefile b/sys/boot/i386/boot2/Makefile +index ead9ad1..af5e021 100644 +--- a/sys/boot/i386/boot2/Makefile ++++ b/sys/boot/i386/boot2/Makefile +@@ -45,6 +45,9 @@ CFLAGS.gcc+= -Os \ + .if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} <= 40201 + CFLAGS.gcc+= -mno-align-long-strings + .endif ++.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40600 ++CFLAGS.gcc+= -fno-asynchronous-unwind-tables ++.endif + + CFLAGS.clang+= -Oz ${CLANG_OPT_SMALL} + |