Skip to content

Commit

Permalink
16569 want a more foolproof method to build native tools (fix native …
Browse files Browse the repository at this point in the history
…assembler)
  • Loading branch information
richlowe authored and danmcd committed Jul 5, 2024
1 parent 29afde7 commit c9fe07f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions usr/src/Makefile.master
Original file line number Diff line number Diff line change
Expand Up @@ -570,6 +570,8 @@ NATIVE_CFLAGS= $(COPTFLAG) $($(NATIVE_MACH)_CFLAGS) \
$(CCNOREORDER) $(CCNOAGGRESSIVELOOPS) $(CCINLINESIZE) \
$(CSOURCEDEBUGFLAGS) $(CUSERFLAGS)

NATIVE_ASFLAGS= $(NATIVE_CFLAGS)

NATIVE_CCFLAGS= $(CCOPTFLAG) $($(NATIVE_MACH)_CCFLAGS) $(CCSOURCEDEBUGFLAGS) \
$(CCUSERFLAGS)

Expand All @@ -578,6 +580,8 @@ NATIVE_CFLAGS64= $(COPTFLAG64) $($(NATIVE_MACH64)_CFLAGS) \
$(CCNOREORDER) $(CCNOAGGRESSIVELOOPS) $(CCINLINESIZE) \
$(CSOURCEDEBUGFLAGS) $(CUSERFLAGS64)

NATIVE_ASFLAGS64= $(NATIVE_CFLAGS64)

NATIVE_CCFLAGS64= $(CCOPTFLAG64) $($(NATIVE_MACH64)_CCFLAGS) \
$(CCSOURCEDEBUGFLAGS) $(CCUSERFLAGS64)

Expand Down
1 change: 1 addition & 0 deletions usr/src/Makefile.master.64
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ LINK.c= $(LINK64.c)
LINK.cc= $(LINK64.cc)
NATIVE_CFLAGS= $(NATIVE_CFLAGS64)
NATIVE_CCFLAGS= $(NATIVE_CCFLAGS64)
NATIVE_ASFLAGS= $(NATIVE_ASFLAGS64)

CTF_FLAGS= $(CTF_FLAGS_64)

Expand Down

0 comments on commit c9fe07f

Please sign in to comment.