package/memtester: fix compile and link flags
PATCH 1/1 package/memtester: fix compile and link flags
The memtester build system does not use CFLAGS/LDFLAGS variables. Everything should be written to conf-cc and conf-ld.
Use '%' as sed expression delimiter because comma might appear in LDFLAGS.
--- package/memtester/memtester.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
package/memtester/memtester.mk +3 -2
@@ -13,8 +13,9 @@ MEMTESTER_CPE_ID_VENDOR = pryopus MEMTESTER_TARGET_INSTALL_OPTS = INSTALLPATH=$(TARGET_DIR)/usr define MEMTESTER_BUILD_CMDS - $(SED) "s,^cc,$(TARGET_CC)," $(@D)/conf-* - $(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) + $(SED) "s%^cc%$(TARGET_CC) $(TARGET_CFLAGS)%" $(@D)/conf-cc + $(SED) "s%^cc%$(TARGET_CC) $(TARGET_LDFLAGS)%" $(@D)/conf-ld + $(MAKE) -C $(@D) endef define MEMTESTER_INSTALL_TARGET_CMDS
Signature · 1 line
2.30.0
PATCH 1/1 package/memtester: fix compile and link flags
Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
The memtester build system does not use CFLAGS/LDFLAGS variables. Everything should be written to conf-cc and conf-ld.
Use '%' as sed expression delimiter because comma might appear in LDFLAGS.
Cc Matt Weber <[email protected]>Signed-off-by Baruch Siach <[email protected]>
Committed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH 1/1 package/memtester: fix compile and link flags
In reply to Baruch SiachQuoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Baruch" == Baruch Siach <[email protected]> writes:
The memtester build system does not use CFLAGS/LDFLAGS variables. Everything should be written to conf-cc and conf-ld.
Use '%' as sed expression delimiter because comma might appear in LDFLAGS.
Cc Matt Weber <[email protected]>Signed-off-by Baruch Siach <[email protected]>
Committed to 2020.11.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard