summaryrefslogtreecommitdiffstats
path: root/tools/linux.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linux.py')
-rw-r--r--tools/linux.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/linux.py b/tools/linux.py
index 823b66e..1783e06 100644
--- a/tools/linux.py
+++ b/tools/linux.py
@@ -1,3 +1,4 @@
+import common_compiler_flags
from SCons.Variables import *
from SCons.Tool import clang, clangxx
@@ -14,7 +15,7 @@ def generate(env):
if env["use_llvm"]:
clang.generate(env)
clangxx.generate(env)
- elif env["use_hot_reload"]:
+ elif env.use_hot_reload:
# Required for extensions to truly unload.
env.Append(CXXFLAGS=["-fno-gnu-unique"])
@@ -37,3 +38,5 @@ def generate(env):
env.Append(LINKFLAGS=["-march=rv64gc"])
env.Append(CPPDEFINES=["LINUX_ENABLED", "UNIX_ENABLED"])
+
+ common_compiler_flags.generate(env)