diff options
author | Johnny Halfmoon | 2018-09-15 23:45:23 +0200 |
---|---|---|
committer | Johnny Halfmoon | 2018-09-15 23:45:23 +0200 |
commit | b1502a859fd1a6c20fad9f28a052e99da98dd7dc (patch) | |
tree | c15a97884933bf206f3119032cd0d60ca9f46932 /0200-gcc-no-exceptions.patch | |
download | aur-arm-none-eabi-gcc73-linaro.tar.gz |
initial commit
Diffstat (limited to '0200-gcc-no-exceptions.patch')
-rw-r--r-- | 0200-gcc-no-exceptions.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/0200-gcc-no-exceptions.patch b/0200-gcc-no-exceptions.patch new file mode 100644 index 000000000000..6184b3a7730d --- /dev/null +++ b/0200-gcc-no-exceptions.patch @@ -0,0 +1,22 @@ +diff -ur ../1/libgcc/Makefile.in ./libgcc/Makefile.in +--- ../1/libgcc/Makefile.in 2018-06-12 19:23:47.000000000 +0200 ++++ ./libgcc/Makefile.in 2018-09-15 21:44:22.822605290 +0200 +@@ -523,7 +523,7 @@ + ifeq ($(LIB2_DIVMOD_EXCEPTION_FLAGS),) + # Provide default flags for compiling divmod functions, if they haven't been + # set already by a target-specific Makefile fragment. +-LIB2_DIVMOD_EXCEPTION_FLAGS := -fexceptions -fnon-call-exceptions ++LIB2_DIVMOD_EXCEPTION_FLAGS := -fno-exceptions -fnon-call-exceptions + endif + + # Build LIB2_DIVMOD_FUNCS. +@@ -844,7 +844,7 @@ + # libgcc_eh.a, only LIB2ADDEH matters. If we do, only LIB2ADDEHSTATIC and + # LIB2ADDEHSHARED matter. (Usually all three are identical.) + +-c_flags := -fexceptions ++c_flags := -fno-exceptions + + ifeq ($(enable_shared),yes) + +Only in ./libgcc: Makefile.in.orig |