diff --git a/c_src/build_deps.sh b/c_src/build_deps.sh index 70163f5..686fda3 100755 --- a/c_src/build_deps.sh +++ b/c_src/build_deps.sh @@ -28,7 +28,7 @@ export BASEDIR="$PWD" which gmake 1>/dev/null 2>/dev/null && MAKE=gmake MAKE=${MAKE:-make} -export CFLAGS="$CFLAGS -g -I $BASEDIR/system/include" +export CFLAGS="$CFLAGS -I $BASEDIR/system/include" export CXXFLAGS="$CXXFLAGS -I $BASEDIR/system/include" export LDFLAGS="$LDFLAGS -L$BASEDIR/system/lib" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$BASEDIR/system/lib:$LD_LIBRARY_PATH" diff --git a/rebar.config b/rebar.config index 701591c..36d44a6 100644 --- a/rebar.config +++ b/rebar.config @@ -36,7 +36,7 @@ {port_specs, [{"priv/wterl.so", ["c_src/*.c"]}]}. {port_env, [ - {"DRV_CFLAGS", "$DRV_CFLAGS -fPIC -g -Wall -Wextra -Werror -I c_src/system/include"}, + {"DRV_CFLAGS", "$DRV_CFLAGS -fPIC -Wall -Wextra -Werror -I c_src/system/include"}, {"DRV_LDFLAGS", "$DRV_LDFLAGS -Wl,-rpath,lib/wterl/priv:priv -Lc_src/system/lib -lwiredtiger"} ]}.