--- configure.orig	2020-02-25 04:25:02.000000000 +0700
+++ configure	2023-09-13 03:23:18.000000000 +0700
@@ -4,4 +4,4 @@
 # all of its config scripts in a different directory than the configure
 # script itself.
 
-( CFLAGS="-g" ; export CFLAGS ; cd scripts ; ./configure "$@" )
+( CFLAGS="-g @ARCHFLAGS@" ; LDFLAGS="@ARCHFLAGS@" ; export CFLAGS ; export CFLAGS ; cd scripts ; ./configure "$@" )
