mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-05 22:18:03 +01:00
build: Fixup PE section headers.
For FH4.
This commit is contained in:
parent
8448591ebd
commit
5b406be13e
3 changed files with 37 additions and 2 deletions
|
|
@ -63,6 +63,9 @@ $$(OBJ)/.$(1)-dist$(3):
|
|||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.def' ')' \
|
||||
-printf '--add-gnu-debuglink=$$(DST_LIBDIR$(3))/%p.debug\0--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs --verbose -0 -r -P8 -n4 objcopy --file-alignment=4096
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f -name '*.dll' \
|
||||
-printf '$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs --verbose -0 -r -P8 -n1 $$(SRC)/make/pefixup.py
|
||||
touch $$@
|
||||
else
|
||||
$$(OBJ)/.$(1)-dist$(3):
|
||||
|
|
@ -75,6 +78,9 @@ $$(OBJ)/.$(1)-dist$(3):
|
|||
cd $$($(2)_LIBDIR$(3)) && find -type f -not '(' -iname '*.pc' -or -iname '*.cmake' -or -iname '*.a' -or -iname '*.def' ')' \
|
||||
-printf '--strip-debug\0%p\0$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs --verbose -0 -r -P8 -n3 objcopy --file-alignment=4096
|
||||
cd $$($(2)_LIBDIR$(3)) && find -type f -name '*.dll' \
|
||||
-printf '$$(DST_LIBDIR$(3))/%p\0' | \
|
||||
xargs --verbose -0 -r -P8 -n1 $$(SRC)/make/pefixup.py
|
||||
touch $$@
|
||||
endif
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue