Commit fee4c425 by Vicent Marti

Force position independent code in Linux

parent 2571cc3c
...@@ -4,7 +4,7 @@ from waflib.Build import BuildContext, CleanContext, \ ...@@ -4,7 +4,7 @@ from waflib.Build import BuildContext, CleanContext, \
InstallContext, UninstallContext InstallContext, UninstallContext
# Unix flags # Unix flags
CFLAGS_UNIX = ["-O2", "-Wall", "-Wextra"] CFLAGS_UNIX = ["-O2", "-Wall", "-Wextra", "-fPIC"]
CFLAGS_UNIX_DBG = ['-g', '-O0'] CFLAGS_UNIX_DBG = ['-g', '-O0']
# Windows MSVC flags # Windows MSVC flags
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment