mirror of
https://github.com/linux-msm/debugcc.git
synced 2026-02-25 13:12:32 -08:00
meson.build: Fix static build by replacing build flags by link flags
Build flags wont carry to linker but link flags will.
Fixes: cf2b67a ("meson.build: bring back -static")
Signed-off-by: George Chan <gchan9527@gmail.com>
This commit is contained in:
@@ -60,5 +60,5 @@ debugcc_srcs += configure_file(
|
||||
|
||||
executable('debugcc',
|
||||
debugcc_srcs,
|
||||
c_args : '-Wl,-static,-static-libgcc',
|
||||
link_args: ['-static','-static-libgcc'],
|
||||
install: true)
|
||||
|
||||
Reference in New Issue
Block a user