Skip to content

Commit

Permalink
Remove OMF flags from Makefile (#8993)
Browse files Browse the repository at this point in the history
  • Loading branch information
LightBender committed May 7, 2024
1 parent 449b8e1 commit f9fa135
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,10 +128,6 @@ ifeq (,$(findstring win,$(OS)))
ifneq (osx,$(OS))
NODEFAULTLIB += -L-lpthread -L-lm
endif
else
ifeq ($(MODEL),32omf)
CPPFLAGS := -DNO_snprintf
endif
endif

# Set CC, CC_OUTFILEFLAG and CFLAGS unless using importC
Expand All @@ -142,9 +138,6 @@ ifneq ($(USE_IMPORTC),1)
ifeq ($(OS),win32wine)
CC := wine dmc.exe
CFLAGS := $(if $(findstring $(BUILD),debug),-g,-O)
else ifeq ($(MODEL),32omf)
CC := dmc
CFLAGS := $(if $(findstring $(BUILD),debug),-g,-O)
else ifeq ($(OS),windows)
CC := cl
CC_OUTFILEFLAG := /Fo
Expand Down Expand Up @@ -202,9 +195,7 @@ ifeq (,$(findstring win,$(OS)))
SONAME:=libphobos2.so.$(MAJOR).$(MINOR)
LIBSO:=$(ROOT)/$(SONAME).$(PATCH)
else
ifeq ($(MODEL),32omf)
LIB:=phobos.lib
else ifeq ($(MODEL),32)
ifeq ($(MODEL),32)
LIB:=phobos32mscoff.lib
else
LIB:=phobos$(MODEL).lib
Expand Down

0 comments on commit f9fa135

Please sign in to comment.