Skip to content

Commit

Permalink
try -fno-sanitize=undefined?
Browse files Browse the repository at this point in the history
  • Loading branch information
Yangff committed May 26, 2024
1 parent 09dd303 commit 7502801
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ jobs:
actions-cache-key: 'linux-test'
- name: Build
run: |
xmake f -y --ue4ssUI=TUI --ue4ssInput=y --ue4ssIsBeta=y --zig=y -m "Game__Shipping__Linux"
XMAKE_COLORTERM=nocolor xmake build -v
xmake f -y --ue4ssUI=TUI --ue4ssInput=y --ue4ssIsBeta=y -m "Game__Shipping__Linux"
XMAKE_COLORTERM=nocolor xmake build -v -D > build.log
- name: Stripping
run: |
mkdir prepackage
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ toolchain("zigcross")
add_cxflags("-fexperimental-library")
add_cxflags("-fno-delete-null-pointer-checks")
add_cxflags("-gdwarf")
add_cxflags("-fno-sanitize-c") -- can also use O2 to avoid this, but I'd prefer getting clear binary for now
add_cxflags("-fno-sanitize=undefined") -- can also use O2 to avoid this, but I'd prefer getting clear binary for now
add_shflags("-z", "lazy")
toolchain_end()

Expand Down

0 comments on commit 7502801

Please sign in to comment.