Skip to content

Commit 530d02a

Browse files
committed
build: pass -fno-ident in Windows gitian descriptor
This prevents compilers from emitting compiler name and version number info that can needlessly bloat binaries. Accepted by Clang and GCC. See: https://clang.llvm.org/docs/ClangCommandLineReference.html#cmdoption-clang-qn https://gcc.gnu.org/onlinedocs/gcc/Code-Gen-Options.html#index-fno-ident
1 parent 2bdc476 commit 530d02a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/gitian-descriptors/gitian-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ script: |
3434
CONFIGFLAGS="--enable-reduce-exports --disable-bench --disable-gui-tests"
3535
FAKETIME_HOST_PROGS="ar ranlib nm windres strip objcopy"
3636
FAKETIME_PROGS="date makensis zip"
37-
HOST_CFLAGS="-O2 -g"
38-
HOST_CXXFLAGS="-O2 -g"
37+
HOST_CFLAGS="-O2 -g -fno-ident"
38+
HOST_CXXFLAGS="-O2 -g -fno-ident"
3939
4040
export QT_RCC_TEST=1
4141
export QT_RCC_SOURCE_DATE_OVERRIDE=1

0 commit comments

Comments
 (0)