summaryrefslogtreecommitdiffstats
path: root/src/v8/v8base.pri
diff options
context:
space:
mode:
Diffstat (limited to 'src/v8/v8base.pri')
-rw-r--r--src/v8/v8base.pri24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/v8/v8base.pri b/src/v8/v8base.pri
deleted file mode 100644
index 8a7d18cc49..0000000000
--- a/src/v8/v8base.pri
+++ /dev/null
@@ -1,24 +0,0 @@
-V8DIR = $$(V8DIR)
-isEmpty(V8DIR) {
- V8DIR = $$PWD/../3rdparty/v8
- !exists($$V8DIR/src):error("$$V8DIR/src does not exist! $$escape_expand(\\n)\
- If you are building from git, please ensure you have the v8 submodule available, e.g. $$escape_expand(\\n\\n)\
- git submodule update --init src/3rdparty/v8 $$escape_expand(\\n\\n)\
- Alternatively, Qt may be configured with -no-v8 to disable v8.\
- ")
-} else {
- message(using external V8 from $$V8DIR)
-}
-
-*-g++*: {
- QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter
- QMAKE_CXXFLAGS_WARN_ON += -Wno-unused-parameter
-
- # mksnapshot hangs if gcc 4.5 is used
- # for reference look at http://code.google.com/p/v8/issues/detail?id=884
- equals(QT_GCC_MAJOR_VERSION, 4): equals(QT_GCC_MINOR_VERSION, 5) {
- message(because of a bug in gcc / v8 we need to add -fno-strict-aliasing)
- QMAKE_CFLAGS += -fno-strict-aliasing
- QMAKE_CXXFLAGS += -fno-strict-aliasing
- }
-}