Unify the handling of assembly flags
This commit is contained in:
parent
f61f489ec5
commit
2bb88f8533
|
@ -2,7 +2,8 @@ targets=crtbegin.o,crtend.o,crti.o,crtn.o,uKernel.bin
|
|||
as=$(CC)
|
||||
cc=$(CROSS)gcc
|
||||
cppflags_force=-nostdinc -isystem ../../include -isystem ../../src/lib/libc/include -isystem ../../src/lib/libc/include/dl -I..
|
||||
asflags_force=$(CFLAGSF) $(CFLAGS) -c
|
||||
asflags_force=$(CFLAGSF) -c
|
||||
asflags=$(CFLAGS)
|
||||
cflags_force=`../../tools/platform.sh -V UKERNEL_CFLAGS -C "$$ARCH"`
|
||||
cflags=-W -Wall -g -O2
|
||||
ldflags_force=`../../tools/platform.sh -V UKERNEL_LDFLAGS -C "$$ARCH"`
|
||||
|
|
|
@ -3,8 +3,8 @@ targets=libk
|
|||
as=$(CC)
|
||||
cc=$(CROSS)gcc
|
||||
cppflags_force=-nostdinc -isystem ../../include -isystem libc/include -I.. -D__DeforaOS__
|
||||
asflags_force=$(CFLAGSF)
|
||||
asflags=$(CFLAGS) -c
|
||||
asflags_force=$(CFLAGSF) -c
|
||||
asflags=$(CFLAGS)
|
||||
cflags_force=`../../tools/platform.sh -V LIBK_CFLAGS -C "$$ARCH"`
|
||||
cflags=-W -Wall -g -O2
|
||||
ldflags_force=`../../tools/platform.sh -V LIBK_LDFLAGS -C "$$ARCH"`
|
||||
|
|
|
@ -2,7 +2,8 @@ targets=crtbegin.o,crtend.o,crti.o,crtn.o,libuLoader,uLoader.bin
|
|||
as=$(CC)
|
||||
cc=$(CROSS)gcc
|
||||
cppflags_force=-nostdinc -isystem ../../include -isystem ../../src/lib/libc/include -isystem ../../src/lib/libc/include/dl -I.. -D__DeforaOS__
|
||||
asflags_force=$(CFLAGSF) $(CFLAGS) -c
|
||||
asflags_force=$(CFLAGSF) -c
|
||||
asflags=$(CFLAGS)
|
||||
cflags=-W -Wall -g -O2
|
||||
dist=Makefile
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user