diff options
| author | Khem Raj <raj.khem@gmail.com> | 2022-12-25 20:49:03 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-12-27 09:55:18 -0800 |
| commit | 1a8e349e873ef9b1e3220d7f5422935fd71c187b (patch) | |
| tree | d61fc1d109eeb5cd71977ac0659e52329732629c | |
| parent | c9ece4d422f721c37caa7675260d3decc883fb00 (diff) | |
| download | meta-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.bb | 2 |
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,," | |||
| 120 | export HOSTCC = "${BUILD_CC}" | 120 | export HOSTCC = "${BUILD_CC}" |
| 121 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" | 121 | export PHP_NATIVE_DIR = "${STAGING_BINDIR_NATIVE}" |
| 122 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" | 122 | export PHP_PEAR_PHP_BIN = "${STAGING_BINDIR_NATIVE}/php" |
| 123 | CFLAGS += " -D_GNU_SOURCE -g -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED -I${STAGING_INCDIR}/apache2" | 123 | CFLAGS += " -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 |
