Index: Makefile |
diff --git a/Makefile b/Makefile |
index 833c8758d976ef502cccd765fa7a2dbf2acb00e0..73e84216b4d9c470b6e9bcadfd7ea7b7af53a651 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -87,6 +87,10 @@ endif |
ifeq ($(presubmit), no) |
TESTFLAGS += --no-presubmit |
endif |
+# strictaliasing=off (workaround for GCC-4.5) |
+ifeq ($(strictaliasing), off) |
+ GYPFLAGS += -Dv8_no_strict_aliasing=1 |
+endif |
# ----------------- available targets: -------------------- |
# - "dependencies": pulls in external dependencies (currently: GYP) |