OS/2 build fix for GNU C 3.5, patch from Max Vasilyev 2:5057/77

This commit is contained in:
Stas Degteff 2010-05-02 06:54:52 +00:00
parent 3f8f3ac232
commit 7eb3182884
2 changed files with 2 additions and 6 deletions

View File

@ -19,8 +19,8 @@ GLIBS+=hunspell
endif endif
INCS=-I. -I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcfg -I$(TOP)/goldlib/gmb3 -I$(TOP)/goldlib/uulib -I$(TOP)/goldlib/smblib INCS=-I. -I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcfg -I$(TOP)/goldlib/gmb3 -I$(TOP)/goldlib/uulib -I$(TOP)/goldlib/smblib
ifeq ($(findstring EMX, $(PATH)), EMX) ifeq ($(PLATFORM),emx)
STDLIBS=-los2me -lstdcpp STDLIBS=-los2me
GLIBS+=glibc GLIBS+=glibc
INCS+=-I$(TOP)/goldlib/glibc INCS+=-I$(TOP)/goldlib/glibc
else else

View File

@ -12,13 +12,9 @@ TOP=..
SHORTTARGET=gn SHORTTARGET=gn
TARGET=goldnode TARGET=goldnode
INCS=-I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcfg -I$(TOP)/golded3/ INCS=-I$(TOP)/goldlib/gall -I$(TOP)/goldlib/gcfg -I$(TOP)/golded3/
ifeq ($(findstring EMX, $(PATH)), EMX)
STDLIBS=-lstdcpp
else
ifdef MINGW ifdef MINGW
STDLIBS=-luser32 STDLIBS=-luser32
endif endif
endif
GLIBS=gall GLIBS=gall
CLEANS= CLEANS=
ADDS+=$(TOP)/$(OBJPATH)/$(PLATFORM)/golded3/golded3$(OBJEXT) ADDS+=$(TOP)/$(OBJPATH)/$(PLATFORM)/golded3/golded3$(OBJEXT)