Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1358 from MartinNowak/m32mscoff
Browse files Browse the repository at this point in the history
fix -m32mscoff issue with errno_c.obj
  • Loading branch information
WalterBright committed Aug 27, 2015
2 parents 0ca2564 + 1b6774d commit 075a160
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions win32.mak
Expand Up @@ -34,8 +34,8 @@ $(mak\SRCS)
# NOTE: a pre-compiled minit.obj has been provided in dmd for Win32 and
# minit.asm is not used by dmd for Linux

OBJS= errno_c.obj src\rt\minit.obj
OBJS_TO_DELETE= errno_c.obj
OBJS= errno_c$(MODEL).obj src\rt\minit.obj
OBJS_TO_DELETE= errno_c$(MODEL).obj

######################## Doc .html file generation ##############################

Expand Down Expand Up @@ -630,8 +630,8 @@ $(IMPDIR)\etc\linux\memoryerror.d : src\etc\linux\memoryerror.d

################### C\ASM Targets ############################

errno_c.obj : src\core\stdc\errno.c
$(CC) -c $(CFLAGS) src\core\stdc\errno.c -oerrno_c.obj
errno_c$(MODEL).obj : src\core\stdc\errno.c
$(CC) -c $(CFLAGS) src\core\stdc\errno.c -o$@

src\rt\minit.obj : src\rt\minit.asm
$(CC) -c $(CFLAGS) src\rt\minit.asm
Expand Down
8 changes: 4 additions & 4 deletions win64.mak
Expand Up @@ -43,8 +43,8 @@ $(mak\SRCS)
# NOTE: a pre-compiled minit.obj has been provided in dmd for Win32 and
# minit.asm is not used by dmd for Linux

OBJS= errno_c.obj
OBJS_TO_DELETE= errno_c.obj
OBJS= errno_c$(MODEL).obj
OBJS_TO_DELETE= errno_c$(MODEL).obj

######################## Doc .html file generation ##############################

Expand Down Expand Up @@ -640,8 +640,8 @@ $(IMPDIR)\etc\linux\memoryerror.d : src\etc\linux\memoryerror.d

################### C\ASM Targets ############################

errno_c.obj : src\core\stdc\errno.c
$(CC) -c $(CFLAGS) src\core\stdc\errno.c -Foerrno_c.obj
errno_c$(MODEL).obj : src\core\stdc\errno.c
$(CC) -c $(CFLAGS) src\core\stdc\errno.c -Fo$@

src\rt\minit.obj : src\rt\minit.asm
$(CC) -c $(CFLAGS) src\rt\minit.asm
Expand Down

0 comments on commit 075a160

Please sign in to comment.