Skip to content

Commit

Permalink
uclibc: simplify UCLIBC_EXTRA_CFLAGS
Browse files Browse the repository at this point in the history
Since commit f669521 ("package/gcc:
remove gcc 4.8"), UCLIBC_EXTRA_CFLAGS no longer exists, and is
therefore always empty.

Passing the Buildroot make variable UCLIBC_EXTRA_CFLAGS into the
UCLIBC_EXTRA_CFLAGS fed into uClibc's make environment therefore no
longer makes sense. Therefore, just pass $(TARGET_ABI).

Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
tpetazzoni committed Apr 9, 2018
1 parent 9be2041 commit 0908b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/uclibc/uclibc.mk
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ endif
UCLIBC_MAKE_FLAGS = \
ARCH="$(UCLIBC_TARGET_ARCH)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
UCLIBC_EXTRA_CFLAGS="$(UCLIBC_EXTRA_CFLAGS) $(TARGET_ABI)" \
UCLIBC_EXTRA_CFLAGS="$(TARGET_ABI)" \
HOSTCC="$(HOSTCC)"

define UCLIBC_KCONFIG_FIXUP_CMDS
Expand Down

0 comments on commit 0908b8e

Please sign in to comment.