2016-09-11 21:13:27 +02:00
|
|
|
CFLAGS += -std=c99
|
|
|
|
CONFIGURE_ARGS = --disable-werror \
|
|
|
|
--program-prefix=$(PROGRAM_PREFIX) \
|
|
|
|
--target=$(BINUTILS_TARGET)
|
2011-12-22 16:19:25 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Pass CFLAGS and friends to the invokation of 'make' because
|
|
|
|
# binutils execute 2nd-level configure scripts, which need
|
2016-09-11 21:13:27 +02:00
|
|
|
# the 'ENV' as well.
|
2011-12-22 16:19:25 +01:00
|
|
|
#
|
2016-09-11 21:13:27 +02:00
|
|
|
MAKE_ENV = $(ENV)
|
2011-12-22 16:19:25 +01:00
|
|
|
|
2016-09-11 21:13:27 +02:00
|
|
|
PKG_DIR = $(call select_from_ports,binutils)/src/noux-pkg/binutils
|
2012-07-03 12:56:25 +02:00
|
|
|
|
2011-12-22 16:19:25 +01:00
|
|
|
include $(REP_DIR)/mk/noux.mk
|