diff options
Diffstat (limited to 'musl.patch')
| -rw-r--r-- | musl.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/musl.patch b/musl.patch new file mode 100644 index 0000000..ef5a227 --- /dev/null +++ b/musl.patch @@ -0,0 +1,25 @@ +diff --git a/debian/patches/series b/debian/patches/series +index 0a1013d..91ddd35 100644 +--- a/debian/patches/series ++++ b/debian/patches/series +@@ -1 +1,2 @@ + 20150515_ARM-thumb_compatibility.diff ++size_optimization.patch +diff --git a/debian/patches/size_optimization.patch b/debian/patches/size_optimization.patch +new file mode 100644 +index 0000000..08d48e1 +--- /dev/null ++++ b/debian/patches/size_optimization.patch +@@ -0,0 +1,12 @@ ++--- a/configure +++++ b/configure ++@@ -379,6 +379,9 @@ ++ tryflag CFLAGS_AUTO -fno-unwind-tables ++ tryflag CFLAGS_AUTO -fno-asynchronous-unwind-tables ++ +++tryflag CFLAGS_AUTO -ffunction-sections +++tryflag CFLAGS_AUTO -fdata-sections +++ ++ # ++ # The GNU toolchain defaults to assuming unmarked files need an ++ # executable stack, potentially exposing vulnerabilities in programs |
