summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2022-12-25 20:49:03 -0800
committerKhem Raj <raj.khem@gmail.com>2022-12-27 09:55:18 -0800
commit1a8e349e873ef9b1e3220d7f5422935fd71c187b (patch)
treed61fc1d109eeb5cd71977ac0659e52329732629c
parentc9ece4d422f721c37caa7675260d3decc883fb00 (diff)
downloadmeta-openembedded-1a8e349e873ef9b1e3220d7f5422935fd71c187b.tar.gz
php: Add -D_LARGEFILE64_SOURCE to cflags
-D_LARGEFILE64_SOURCE is needed for musl explicitly. Its added indirectly via -D_GNU_SOURCE on glibc but not on musl feature macros Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-devtools/php/php_8.1.11.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/php/php_8.1.11.bb b/meta-oe/recipes-devtools/php/php_8.1.11.bb
index fefabf72d8..dca482a1c8 100644
--- a/meta-oe/recipes-devtools/php/php_8.1.11.bb
+++ b/meta-oe/recipes-devtools/php/php_8.1.11.bb
@@ -120,7 +120,7 @@ PACKAGECONFIG[mbstring] = "--enable-mbstring,,"
120export HOSTCC = "${BUILD_CC}" 120export HOSTCC = "${BUILD_CC}"
121export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" 121export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}"
122export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" 122export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php"
123CFLAGS += " -D_GNU_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2" 123CFLAGS += " -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2"
124 124
125# Adding these flags enables dynamic library support, which is disabled by 125# Adding these flags enables dynamic library support, which is disabled by
126# default when cross compiling 126# default when cross compiling