Merge pull request #12 from krig/minor-linux-fixes

Minor linux fixes
This commit is contained in:
Petr Kobalicek
2014-04-03 19:45:45 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -105,7 +105,7 @@ If(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX)
EndIf(ASMJIT_STATIC)
If(ASMJIT_STATIC AND NOT WIN32)
List(APPEND ASMJIT_CFLAGS -fPIC)
EndIf(ASMJIT_STATIC)
EndIf(ASMJIT_STATIC AND NOT WIN32)
EndIf()
# Dependencies - Base.

View File

@@ -54,6 +54,6 @@
#if __GNUC__ >= 4
# pragma GCC visibility push(hidden)
#endif __GNUC__ >= 4
#endif // __GNUC__ >= 4
#endif // __GNUC__