Settled GCC 4 stuff, I think.
This commit is contained in:
parent
ff9dcc6d58
commit
e295163653
|
@ -4,8 +4,10 @@ EXESUFFIX =
|
||||||
LIBSUFFIX = .so
|
LIBSUFFIX = .so
|
||||||
OSHSUFFIX = .hpp
|
OSHSUFFIX = .hpp
|
||||||
|
|
||||||
# TODO dynamically select the gcc4 compiler instead? gotta figure out how to do this on a GCC 2 Hybrid nightly
|
# Force GCC 4; GCC 2 is not supported.
|
||||||
gccver = $(shell $(CC) --version | sed 's/-.*//g')
|
gccver = $(shell $(CC) --version | sed 's/-.*//g')
|
||||||
ifeq ($(gccver),2.95.3)
|
ifeq ($(gccver),2.95.3)
|
||||||
$(error Sorry; GCC 4 is necessary to build libui for Haiku)
|
# TODO warn?
|
||||||
|
CC = gcc-x86
|
||||||
|
CXX = g++-x86
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue