Reproducible version#"configure arguments"
authorDoug Torrance <dtorrance@piedmont.edu>
Sun, 24 Jan 2021 13:57:47 +0000 (13:57 +0000)
committerDoug Torrance <dtorrance@piedmont.edu>
Sun, 24 Jan 2021 13:57:47 +0000 (13:57 +0000)
Forwarded: not-needed
Last-Update: 2020-09-18

We replace the build directory with "/build/path" in all the instances
of the -fdebug-prefix-map flag.

Gbp-Pq: Name reproducible-config-args.patch

M2/configure.ac

index 5642e7cdc5ef3f473f923b4f0aace461fb0d91a2..37ec8c345e2c5bd41e767fd8ac1bbf4d8b15b129 100644 (file)
@@ -6,7 +6,7 @@ AC_CONFIG_FILES(m4_include(config/files))
 AC_SUBST(CONFIGURED_FILES,"$ac_config_files")
 AC_SUBST(CONFIG_ARGS,"$ac_configure_args")
 echo "'$0' $ac_configure_args" > config.args
-C_CONFIG_ARGS=` echo "$ac_configure_args" | sed -e 's=\\\\=\\\\\\\\=g' -e 's=\\"=\\\\"=g' `
+C_CONFIG_ARGS=`echo "$ac_configure_args" | sed -e 's=\\\\=\\\\\\\\=g' -e 's=\\"=\\\\"=g' -e "s=$CURDIR=/build/path=g"`
 AC_DEFINE_UNQUOTED(CONFIG_ARGS,"$C_CONFIG_ARGS",arguments used for configure)
 AC_SUBST(CONFIG_CMD,"'$0' $ac_configure_args")