aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2012-11-15 15:21:43 -0800
committerNick Kralevich <nnk@google.com>2012-11-15 15:48:19 -0800
commit83697b8b76501cc09b3f1963485184bc7cae06ee (patch)
treea1e2c795cd45f1cc366f71c9e371993566bb2898
parentc079dfe4153941e6da881be9a143b41a1112c2ac (diff)
downloadandroid_bionic-83697b8b76501cc09b3f1963485184bc7cae06ee.tar.gz
android_bionic-83697b8b76501cc09b3f1963485184bc7cae06ee.tar.bz2
android_bionic-83697b8b76501cc09b3f1963485184bc7cae06ee.zip
Temporarily address gcc 4.7 breakage.
Change-Id: I8ebb2d5df2f8f8aedf252c94ff69505e61ed0a74
-rw-r--r--linker/linker_format.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linker/linker_format.cpp b/linker/linker_format.cpp
index 60b759bf3..65c626447 100644
--- a/linker/linker_format.cpp
+++ b/linker/linker_format.cpp
@@ -26,6 +26,10 @@
* SUCH DAMAGE.
*/
+// Temporarily disable _FORTIFY_SOURCE to get this code to
+// compile under GCC 4.7
+#undef _FORTIFY_SOURCE
+
#include <assert.h>
#include <stdarg.h>
#include <string.h>