fixing 2 build breaks OS2_BRANCH
authordanda
Sun, 19 Apr 1998 08:43:47 +0000
branchOS2_BRANCH
changeset 45 87ccc11007ab5126e5d34bd16e2a171960cd72e9
parent 44 6901f8d71b360662e30fe411aad971eb98363a55
child 46 d03ae87c8a9c32e2ada394a1c5fd92f3215b9ee1
push idunknown
push userunknown
push dateunknown
fixing 2 build breaks
config/OS2.mk
--- a/config/OS2.mk
+++ b/config/OS2.mk
@@ -101,33 +101,33 @@ CC			= gcc
 CCC			= gcc
 LINK			= gcc
 RC 			= rc.exe
 FILTER  		= emxexp
 IMPLIB  		= emximp -o
 
 # Determine which object format to use.  Two choices:
 # a.out and omf.  We default to a.out.
-ifeq($(MOZ_OS2_EMX_OBJECTFORMAT), OMF)
+ifeq ($(MOZ_OS2_EMX_OBJECTFORMAT), OMF)
 OMF_FLAG 	= -Zomf
 AR		= emxomfar r $@
 LIB_SUFFIX	= lib
 else
 AR      	= ar -q $@
 LIB_SUFFIX	= a
 endif
 
 OS_LIBS     		= -lsocket -lemxio
 
 LIB_SUFFIX 		= lib
 
 DEFINES += -DXP_OS2_EMX
 
 OS_CFLAGS     		= $(OMF_FLAG) -I. -Wall -Zmt $(DEFINES)
-OS_EXE_CFLAGS 		= $(OS_CFLAGS)
+OS_EXE_CFLAGS 		= $(OMF_FLAG) -I. -Wall -Zmt $(DEFINES)
 OS_DLLFLAGS 		= $(OMF_FLAG) -Zmt -Zdll -Zcrtdll -o $@
 
 ifdef BUILD_OPT
 OPTIMIZER		= -O3
 DLLFLAGS		= 
 EXEFLAGS    		= -Zmt -o $@
 else
 OPTIMIZER		= -g