Browse Source

Use NATIVE_CC. Don't hard code using 'gcc'.
-Erik

Eric Andersen 23 years ago
parent
commit
2550c78528
1 changed files with 1 additions and 1 deletions
  1. 1 1
      extra/gcc-uClibc/Makefile

+ 1 - 1
extra/gcc-uClibc/Makefile

@@ -36,7 +36,7 @@ else
 endif
 
 gcc-uClibc: gcc-uClibc.h gcc-uClibc.c
-	gcc -Wall -O2 -Wl,-s gcc-uClibc.c -o $(TARGET_ARCH)-uclibc-gcc
+	$(NATIVE_CC) $(NATIVE_CFLAGS) -Wl,-s gcc-uClibc.c -o $(TARGET_ARCH)-uclibc-gcc
 
 ld-uClibc:
 	@echo "#!/bin/sh" > $(TARGET_ARCH)-uclibc-ld