Trying more stuff with this linux build shit
This commit is contained in:
parent
1095ccb9c8
commit
5af05ee717
|
@ -315,7 +315,7 @@ build(Partition *part, u32 flags, u32 arch, char *code_path, char **code_files,
|
||||||
"-Wno-unused-result"
|
"-Wno-unused-result"
|
||||||
|
|
||||||
#define GCC_LIBS_COMMON \
|
#define GCC_LIBS_COMMON \
|
||||||
"-L/usr/local/lib -lX11 -lpthread -lm -lrt " \
|
"-L/usr/lib -lX11 -lpthread -lm -lrt " \
|
||||||
"-lGL -ldl -lXfixes -lfreetype -lfontconfig"
|
"-lGL -ldl -lXfixes -lfreetype -lfontconfig"
|
||||||
|
|
||||||
#define GCC_LIBS_X64 GCC_LIBS_COMMON
|
#define GCC_LIBS_X64 GCC_LIBS_COMMON
|
||||||
|
@ -329,17 +329,16 @@ build(Partition *part, u32 flags, u32 arch, char *code_path, char **code_files,
|
||||||
"-Wno-tautological-compare " \
|
"-Wno-tautological-compare " \
|
||||||
"-Wno-unused-result "
|
"-Wno-unused-result "
|
||||||
|
|
||||||
|
|
||||||
#define GCC_LIBS_COMMON \
|
#define GCC_LIBS_COMMON \
|
||||||
"-framework Cocoa -framework QuartzCore " \
|
"-framework Cocoa -framework QuartzCore " \
|
||||||
"-framework CoreServices " \
|
"-framework CoreServices " \
|
||||||
"-framework OpenGL -framework IOKit "
|
"-framework OpenGL -framework IOKit "
|
||||||
|
|
||||||
#define GCC_LIBS_X64 GCC_LIBS_COMMON \
|
#define GCC_LIBS_X64 GCC_LIBS_COMMON \
|
||||||
FOREIGN"/x64/libfreetype-mac.a"
|
FOREIGN "/x64/libfreetype-mac.a"
|
||||||
|
|
||||||
#define GCC_LIBS_X86 GCC_LIBS_COMMON \
|
#define GCC_LIBS_X86 GCC_LIBS_COMMON \
|
||||||
FOREIGN"/x86/libfreetype-mac.a"
|
FOREIGN "/x86/libfreetype-mac.a"
|
||||||
|
|
||||||
#else
|
#else
|
||||||
# error gcc options not set for this platform
|
# error gcc options not set for this platform
|
||||||
|
|
Loading…
Reference in New Issue