File tree Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Expand file tree Collapse file tree 1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -283,15 +283,12 @@ if test "$PHP_MONGODB" != "no"; then
283283 AC_SUBST ( MONGOC_ENABLE_SHM_COUNTERS , 0 )
284284 AC_SUBST ( MONGOC_TRACE , 1 )
285285
286- dnl Capture user-set environment variables for metadata handshake
287- dnl We can do this after the above scripts as they only modify STD_CFLAGS
288- AS_VAR_COPY ( MONGOC_USER_SET_CFLAGS , [ CFLAGS] )
289- AS_VAR_COPY ( MONGOC_USER_SET_LDFLAGS , [ LDFLAGS] )
290- AS_VAR_COPY ( MONGOC_CC , [ CC] )
291-
292- AC_SUBST ( MONGOC_USER_SET_CFLAGS )
293- AC_SUBST ( MONGOC_USER_SET_LDFLAGS )
294- AC_SUBST ( MONGOC_CC )
286+ dnl Assignments for metadata handshake. Leave CFLAGS/LDFLAGS empty as they
287+ dnl would likely cause platform info (PHP version) to be truncated. We can
288+ dnl consider restoring CFLAGS/LDFLAGS once CDRIVER-3134 is resolved.
289+ AC_SUBST ( MONGOC_CC , [ $CC] )
290+ AC_SUBST ( MONGOC_USER_SET_CFLAGS , [ ] )
291+ AC_SUBST ( MONGOC_USER_SET_LDFLAGS , [ ] )
295292
296293 dnl Generated with: find src/libmongoc/src/common -name '*.c' -print0 | cut -sz -d / -f 5- | sort -z | tr '\000' ' '
297294 PHP_MONGODB_COMMON_SOURCES="common-b64.c common-md5.c"
You can’t perform that action at this time.
0 commit comments