mirror of
https://github.com/nasa/trick.git
synced 2025-04-20 00:51:03 +00:00
* add -Wno-maybe-initialized GCC flag to makefile_swig closes #1012 * install diffutils on centos 8 image
This commit is contained in:
parent
69b0b09045
commit
3615fa47b5
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -116,7 +116,7 @@ jobs:
|
||||
dnf install -y 'dnf-command(config-manager)' &&
|
||||
dnf config-manager --enable PowerTools
|
||||
tag_deps: >-
|
||||
python3-devel
|
||||
python3-devel diffutils
|
||||
#-------- Job definition ----------------
|
||||
runs-on: ubuntu-18.04
|
||||
container: docker://${{matrix.cfg.os}}:${{matrix.cfg.tag}}
|
||||
|
@ -146,7 +146,7 @@ sub write_makefile_swig() {
|
||||
ifeq (\$(IS_CC_CLANG), 1)
|
||||
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-self-assign -Wno-sometimes-uninitialized -Wno-deprecated-register
|
||||
else
|
||||
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-unused-but-set-variable
|
||||
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-unused-but-set-variable -Wno-maybe-uninitialized
|
||||
ifeq (\$(shell test \$(GCC_MAJOR) -ge 8; echo \$\$?), 0)
|
||||
TRICK_SYSTEM_SWIG_CFLAGS += -Wno-cast-function-type
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user