Debian ';覆盖自动配置';失败,因为gcc的参数/标志无法识别

Debian ';覆盖自动配置';失败,因为gcc的参数/标志无法识别,debian,packaging,autotools,deb,dpkg,Debian,Packaging,Autotools,Deb,Dpkg,我正在尝试交叉编译和构建debian包 build - x86_64-linux-gnu (ubuntu - 18.04) host - i686-unknown-linux-gnu (debian -8, with gcc version 4.1.2 ) 将我的SDK放置在/opt/xtools。执行override\u dh\u auto\u configure sudo debuild --prepend-path=/opt/urtool-3.0/bin -eLDFLAGS="-W"

我正在尝试交叉编译和构建debian包

build - x86_64-linux-gnu  (ubuntu - 18.04)
host - i686-unknown-linux-gnu (debian -8, with gcc version 4.1.2 )
将我的SDK放置在
/opt/xtools
。执行
override\u dh\u auto\u configure

sudo debuild --prepend-path=/opt/urtool-3.0/bin -eLDFLAGS="-W"
这就是config.log的样子

configure:3801: checking whether the C compiler works
configure:3823: i686-unknown-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/home/ach/Downloads/gperftools/gperftools-2.6.90=. -fstack-protector-strong -Wformat -Werror=format-security -Wformat=1,-Wno-format-extra-args -Wdate-time -D_FORTIFY_SOURCE=2 -W conftest.c  >&5
cc1: error: unrecognized command line option "-Werror=format-security"
cc1: error: unrecognized command line option "-Wdate-time"
cc1: error: unrecognized command line option "-fdebug-prefix-map=/home/ach/Downloads/gperftools/gperftools-2.6.90=."
cc1: error: unrecognized command line option "-fstack-protector-strong"
configure:3827: $? = 1
configure:3865: result: no
configure: failed program was:
它失败了,因为gcc的命令行选项无法识别(gcc-4.1.2非常旧)。如何在执行去ILD时删除/忽略这些无法识别的命令行选项

谢谢