Skip to content

Commit ab938e7

Browse files
committed
Removed explicit include paths from the recipe for the memcached library. Fixes the build on newer Ubuntu systems.
1 parent 93c9cc1 commit ab938e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dev/scripts/builders/build.lib.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2245,9 +2245,9 @@ memcached() {
22452245
# M_EXTRA=""
22462246
# fi
22472247

2248-
export CFLAGS="$M_SYM_INCLUDES -fPIC -g3 -rdynamic -D_FORTIFY_SOURCE=2 $M_CFLAGS"
2249-
export CXXFLAGS="$M_SYM_INCLUDES -fPIC -g3 -rdynamic -D_FORTIFY_SOURCE=2 $M_CXXFLAGS"
2250-
export CPPFLAGS="$M_SYM_INCLUDES -fPIC -g3 -rdynamic -D_FORTIFY_SOURCE=2 $M_CPPFLAGS"
2248+
export CFLAGS="-fPIC -g3 -rdynamic -D_FORTIFY_SOURCE=2 $M_CFLAGS"
2249+
export CXXFLAGS="-fPIC -g3 -rdynamic -D_FORTIFY_SOURCE=2 $M_CXXFLAGS"
2250+
export CPPFLAGS="-fPIC -g3 -rdynamic -D_FORTIFY_SOURCE=2 $M_CPPFLAGS"
22512251

22522252
# Recent versions of gcc require libmemcached to be explicitly linked with libm.so and libstdc++.so, and configure
22532253
# doesn't appear to include these libraries automatically.

0 commit comments

Comments
 (0)