On Haiku, there are two different versions of gcc available (gcc2 and gcc4). Since
mixing them in the same binary result in linker error, build them in separate dirs. git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1961 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
parent
125207cfc8
commit
ff9f228b5f
@ -202,7 +202,9 @@ endif
|
||||
COPT = -W -Wall -c -g $(shell sdl-config --cflags) $(TTFCOPT) -I/boot/common/include $(LUACOPT)
|
||||
LOPT = $(shell sdl-config --libs) -lSDL_image -lpng -ljpeg -lz $(TTFLOPT) -lfreetype -lbe $(LUALOPT)
|
||||
CC = gcc
|
||||
OBJDIR = ../obj/haiku
|
||||
#Append the gcc kind to the objdir (gcc2 or gcc4) to avoid conflicts when switching from one to other.
|
||||
OBJKIND = $(lastword $(shell setgcc))
|
||||
OBJDIR = ../obj/haiku/$(OBJKIND)
|
||||
ZIP = zip
|
||||
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user