Skip to content

Commit

Permalink
Add NATIVE_CPPFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
vitkabele authored and Vít Kabele committed Aug 1, 2023
1 parent 1f8ed0b commit f15880b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cross/firebird/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)

Expand Down

0 comments on commit f15880b

Please sign in to comment.