blob: ec17d92b57905651c1b306da378e5b78ac4f1f8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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}
|