Skip to content

Commit

Permalink
Makefile: use implicit CC variable instead of hardcoding gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCao committed Apr 8, 2023
1 parent 042c076 commit c686355
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $(INITRD_C_BUNDLE): $(INITRD_BINARY)
endif

$(KRUNFW_BINARY_$(OS)): $(KERNEL_C_BUNDLE) $(QBOOT_C_BUNDLE) $(INITRD_C_BUNDLE)
gcc -fPIC -DABI_VERSION=$(ABI_VERSION) -shared $(SONAME_$(OS)) -o $@ $(KERNEL_C_BUNDLE) $(QBOOT_C_BUNDLE) $(INITRD_C_BUNDLE)
$(CC) -fPIC -DABI_VERSION=$(ABI_VERSION) -shared $(SONAME_$(OS)) -o $@ $(KERNEL_C_BUNDLE) $(QBOOT_C_BUNDLE) $(INITRD_C_BUNDLE)
ifeq ($(OS),Linux)
strip $(KRUNFW_BINARY_$(OS))
endif
Expand Down

0 comments on commit c686355

Please sign in to comment.