summaryrefslogtreecommitdiff
path: root/xmake/scripts/tools/gcc.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2015-10-08 18:06:39 +0800
committerruki <[email protected]>2015-10-08 18:06:39 +0800
commitbec7630156f36839322c5c90fbe8e050350a6eac (patch)
treec00200379017d15ae85305298a96ba90f7e0cfe6 /xmake/scripts/tools/gcc.lua
parent950af3b39e7b728797c030bd4640914fdb186c40 (diff)
fix flags for android
Diffstat (limited to 'xmake/scripts/tools/gcc.lua')
-rw-r--r--xmake/scripts/tools/gcc.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/tools/gcc.lua b/xmake/scripts/tools/gcc.lua
index 1e4416c48..ee492e134 100644
--- a/xmake/scripts/tools/gcc.lua
+++ b/xmake/scripts/tools/gcc.lua
@@ -73,7 +73,7 @@ function gcc.init(self, name)
if name:find("clang") then
self.shflags = { "-dynamiclib", "-fPIC" }
else
- self.shflags = { "-shared -Wl,-soname", "-fPIC" }
+ self.shflags = { "-shared", "-fPIC" }
end
-- suppress warning for the clang