Commit 2dc5614b authored by NIIBE Yutaka's avatar NIIBE Yutaka

Fix quote for debian/patches/42_cflags_reproducible.patch

parent 59e9d1c9
......@@ -11,7 +11,7 @@ Index: gauche/configure.ac
dnl put the args to the configure in gauche-config script for later use.
dnl the use of ac_configure_args depends on autoconf 2.52.
-GAUCHE_CONFIGURE_ARGS=`echo "$ac_configure_args" | sed 's/@<:@\\"\`\$@:>@/\\\\&/g'`
+GAUCHE_CONFIGURE_ARGS=`echo "$ac_configure_args" | sed 's/@<:@\\"\`\$@:>@/\\\\&/g' 's/-fdebug-prefix-map=\[^ \]* //'`
+GAUCHE_CONFIGURE_ARGS=`echo "$ac_configure_args" | sed 's/@<:@\\"\`\$@:>@/\\\\&/g' 's/-fdebug-prefix-map=@<:@^ @:>@* //'`
AC_SUBST(GAUCHE_CONFIGURE_ARGS)
dnl ==========================================================
......@@ -20,7 +20,7 @@ Index: gauche/configure.ac
dnl If the user overrides CFLAGS during configure, which is recorded.
dnl This information is used when configuring extensions.
-DEFAULT_CFLAGS="$CFLAGS"
+DEFAULT_CFLAGS="$(echo "$CFLAGS" | sed 's/-fdebug-prefix-map=\[^ \]* //')"
+DEFAULT_CFLAGS="$(echo "$CFLAGS" | sed 's/-fdebug-prefix-map=@<:@^ @:>@* //')"
AC_SUBST(DEFAULT_CFLAGS)
dnl ===========================================================
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment