Commit 0c4c3e74 by Nicolas Capens Committed by Nicolas Capens

Fix 32-bit builds of the sample app on Linux.

Change-Id: I4efc69d9937dcbc3e37e7f184deef75d0a9e2ad7 Reviewed-on: https://swiftshader-review.googlesource.com/1461Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
parent a4d18cb1
...@@ -13,8 +13,10 @@ ...@@ -13,8 +13,10 @@
<Option compiler="gcc" /> <Option compiler="gcc" />
<Compiler> <Compiler>
<Add option="-g" /> <Add option="-g" />
<Add option="-m32" />
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-m32" />
<Add directory="../../../../../../../../lib/Debug_x86" /> <Add directory="../../../../../../../../lib/Debug_x86" />
</Linker> </Linker>
</Target> </Target>
...@@ -25,9 +27,11 @@ ...@@ -25,9 +27,11 @@
<Option compiler="gcc" /> <Option compiler="gcc" />
<Compiler> <Compiler>
<Add option="-O2" /> <Add option="-O2" />
<Add option="-m32" />
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-s" /> <Add option="-s" />
<Add option="-m32" />
<Add directory="../../../../../../../../lib/Release_x86" /> <Add directory="../../../../../../../../lib/Release_x86" />
</Linker> </Linker>
</Target> </Target>
......
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