mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-21 18:33:23 +00:00
将makefile中的gcc字样用$(CC)环境变量代替
This commit is contained in:
@ -4,4 +4,4 @@ all: about.o
|
||||
|
||||
objcopy -I elf64-x86-64 -R ".eh_frame" -R ".comment" -O elf64-x86-64 $(tmp_output_dir)/about $(output_dir)/about.elf
|
||||
about.o: about.c
|
||||
gcc $(CFLAGS) -c about.c -o about.o
|
||||
$(CC) $(CFLAGS) -c about.c -o about.o
|
||||
|
Reference in New Issue
Block a user