Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install build dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y build-essential libc6-dev libc6-dev-i386 libnsl-dev:i386

- name: Checkout berry submodule
run: |
git submodule update --init --recursive libraries/berry
Expand All @@ -133,6 +139,12 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install build dependencies
run: |
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y build-essential libc6-dev libc6-dev-i386 libnsl-dev:i386

- name: Checkout berry submodule
run: |
git submodule update --init --recursive libraries/berry
Expand Down Expand Up @@ -522,4 +534,4 @@ jobs:
echo ${{ steps.semantic.outputs.new_release_major_version }}
echo ${{ steps.semantic.outputs.new_release_minor_version }}
echo ${{ steps.semantic.outputs.new_release_patch_version }}


6 changes: 6 additions & 0 deletions custom.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ ifeq ($(UBSAN),1)
LDFLAGS += -g -static-libasan -fsanitize=undefined
endif


# Append 32bit for linux
CPPFLAGS += -m32
CFLAGS += -m32
LDFLAGS += -m32

$(BUILD_DIR)/$(TARGET_EXEC): $(OBJS)
@echo "Linking: $@"
$(CC) $(OBJS) -o $@ $(LDFLAGS) $(LDLIBS)
Expand Down
Loading
Loading