Skip to content

Commit c13c2cf

Browse files
committed
minor
1 parent 1e0523b commit c13c2cf

6 files changed

Lines changed: 12 additions & 7 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ endif
191191
SETUP_EXE := phiola-$(PKG_VER)-windows-x64-setup.exe
192192
setup_exe: $(SETUP_EXE)
193193
$(SETUP_EXE): phiola-$(PKG_VER)-windows-x64.zip
194-
$(MAKE) -f ../installer/exe/Makefile
194+
$(MAKE) -f $(PHIOLA)/installer/exe/Makefile ROOT=$(ROOT_DIR) COMPILER=$(COMPILER)
195195

196196
release: default
197197
$(SUBMAKE) package

alib3/vorbis/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
include ../config.mk
44

55
VER := 1.3.7
6-
URL := http://downloads.xiph.org/releases/vorbis/libvorbis-$(VER).tar.xz
6+
URL := https://github.com/xiph/vorbis/releases/download/v$(VER)/libvorbis-$(VER).tar.xz
77
SHA256SUM := b33cc4934322bcbf6efcbacf49e3ca01aadbea4114ec9589d1b1e9d20f72954b
88
PKG := $(ALIB3)/vorbis/$(notdir $(URL))
99
DIR := libvorbis-$(VER)

builder/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ VER="${TAG#v}"
1515

1616
case "$TARGET" in
1717
linux-amd64)
18+
ARGS=""
1819
;;
1920

2021
linux-arm64)
@@ -35,8 +36,8 @@ export PATH="$PATH:/usr/lib/llvm-19/bin"
3536
mkdir -p _$TARGET
3637
make -j$(nproc) \
3738
-C _$TARGET \
38-
-f ../Makefile \
39-
ROOT_DIR=../.. \
39+
-f /src/phiola/Makefile \
40+
ROOT_DIR=/src \
4041
COMPILER=clang \
4142
CFLAGS_USER=-fno-diagnostics-color \
4243
PHI_VERSION_STR="$VER" \

installer/exe/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FFSYS := $(ROOT)/ffsys
88
FFBASE := $(ROOT)/ffbase
99

1010
include $(FFBASE)/conf.mk
11-
FFPACK_BIN := $(FFPACK)/_windows-$(CPU)
11+
FFPACK_BIN := ffpack
1212
FFPACK_FLAGS := OS=$(OS) SYS=$(SYS) COMPILER=$(COMPILER) CPU=$(CPU)
1313
ifneq "$(SYS)" "android"
1414
FFPACK_FLAGS += LINKFLAGS_USER='-fuse-ld=lld'
@@ -27,7 +27,8 @@ OBJ += \
2727
ffgui-winapi.o \
2828
ffgui-winapi-loader.o \
2929
str-format.o
30-
LINKFLAGS += -Wl,--gc-sections \
30+
LINKFLAGS += -fuse-ld=lld \
31+
-Wl,--gc-sections \
3132
-lshell32 -luxtheme -lcomctl32 -lcomdlg32 -lgdi32 -lole32 -luuid
3233

3334
ifeq "$(DEBUG)" "1"

src/tui2/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ else ifeq "$(OS)" "windows"
1111
LIBS3 += $(LIBCURSES)
1212
endif
1313

14-
tui2.o: $(PHIOLA)/src/tui2/tui2.c
14+
tui2.o: $(PHIOLA)/src/tui2/tui2.c | $(LIBCURSES)
1515
$(C) $(CFLAGS) $(CF_CURSES) $< -o $@
1616

1717
tui2.$(SO): tui2.o $(LIBCURSES)

src/tui2/pdcurses.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ CC := clang -target x86_64-w64-mingw32
1111
WINDRES := llvm-windres
1212
STRIP := llvm-strip
1313

14+
default: $(LIB)
15+
1416
$(PKG):
1517
$(CURL) $@ $(URL)
1618

@@ -22,5 +24,6 @@ $(LIB): $(DIR)
2224
cd $(DIR)/wincon \
2325
&& $(MAKE) DLL=Y WIDE=Y UTF8=Y \
2426
CC="$(CC)" \
27+
LIBFLAGS="-fuse-ld=lld -shared -o" \
2528
WINDRES=$(WINDRES)
2629
$(STRIP) $@

0 commit comments

Comments
 (0)