summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2012-11-15 15:57:15 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-11-15 15:57:15 -0800
commit170168cdf37111b45b15817fab9e3df54cbc27b7 (patch)
treea1e2c795cd45f1cc366f71c9e371993566bb2898
parentc079dfe4153941e6da881be9a143b41a1112c2ac (diff)
parent83697b8b76501cc09b3f1963485184bc7cae06ee (diff)
downloadbionic-170168cdf37111b45b15817fab9e3df54cbc27b7.zip
bionic-170168cdf37111b45b15817fab9e3df54cbc27b7.tar.gz
bionic-170168cdf37111b45b15817fab9e3df54cbc27b7.tar.bz2
Merge "Temporarily address gcc 4.7 breakage."
-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 60b759b..65c6264 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>