Browse Source

mariadb: fix CPPFLAGS handling

The mariadb build system ignores CPPFLAGS. Add them to CFLAGS as a
workaround.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
lilik-openwrt-22.03
Sebastian Kemper 6 years ago
parent
commit
f727222221
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      utils/mariadb/Makefile

+ 4
- 0
utils/mariadb/Makefile View File

@ -174,6 +174,10 @@ include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/cmake.mk include $(INCLUDE_DIR)/cmake.mk
# Pass CPPFLAGS in the CFLAGS as otherwise the build system will
# ignore them.
TARGET_CFLAGS+=$(TARGET_CPPFLAGS)
define Package/mariadb/install/bin define Package/mariadb/install/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(2) $(1)/usr/bin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(2) $(1)/usr/bin
endef endef


Loading…
Cancel
Save