From f15880b5e832098ad51978e146ebf573d12d0a24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Kabele?= Date: Tue, 1 Aug 2023 14:15:08 +0200 Subject: [PATCH] Add NATIVE_CPPFLAGS --- cross/firebird/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cross/firebird/Makefile b/cross/firebird/Makefile index 41aef3291aef..921f1d4f167e 100644 --- a/cross/firebird/Makefile +++ b/cross/firebird/Makefile @@ -55,6 +55,9 @@ NATIVE_LIBICU_DIR := $(WORK_DIR)/../../../native/libicu/work-native/install/usr/ # CFLAGS and CXXFLAGS for cross1 compile stage NATIVE_CFLAGS := -I$(NATIVE_LIBICU_DIR)/include -L$(NATIVE_LIBICU_DIR)/lib +# Preprocessor flags +NATIVE_CPPFLAGS := -I$(NATIVE_LIBICU_DIR)/include + # This ENV is for cross1 phase where we build native target # # The NATIVE flags must be passed to the configure part, because the configure @@ -64,6 +67,7 @@ NATIVE_ENV = CC=gcc CXX=g++ AS=as AR=ar LD=ld NM=nm OBJCOPY=objcopy OBJDUMP=objd LIBTOOL="$(LIBTOOL_BIN)" \ CFLAGS="$(NATIVE_CFLAGS)" \ CXXFLAGS="$(NATIVE_CFLAGS)" \ + CPPFLAGS="$(NATIVE_CPPFLAGS)" NATIVE_RUN = cd $(WORK_DIR)/$(PKG_DIR) && env $(NATIVE_ENV)