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