Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CC, AR, LD, RANLIB, STRIP to have defaults only if not set. This is n… #143

Merged
merged 3 commits into from
Sep 9, 2023
Merged
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
12 changes: 7 additions & 5 deletions GNUmakefile.os4
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ UNAME := $(shell uname)
INSTALL_PREFIX ?= /usr/ppc-amigaos/SDK/clib2
SDK_INCLUDE ?= /usr/ppc-amigaos/SDK/include

CC := ppc-amigaos-gcc
AR := ppc-amigaos-ar -q
LD := ppc-amigaos-ld
RANLIB := ppc-amigaos-ranlib
CC ?= ppc-amigaos-gcc
AR ?= ppc-amigaos-ar -q
LD ?= ppc-amigaos-ld
RANLIB ?= ppc-amigaos-ranlib
STRIP ?= ppc-amigaos-strip
RANLIB ?= ppc-amigaos-ranlib
HOST_CXX := g++

# On AmigaOS use native commands
Expand Down Expand Up @@ -216,7 +218,7 @@ clib2.library.debug: $(OBJ_C_LIB)

clib2.library: clib2.library.debug
cp $(BUILD_DIR)/$< $(BUILD_DIR)/$@
ppc-amigaos-strip -R.comment -R.sdata2 --strip-unneeded-rel-relocs $(BUILD_DIR)/$@
$(STRIP) -R.comment -R.sdata2 --strip-unneeded-rel-relocs $(BUILD_DIR)/$@

##############################################################################

Expand Down
Loading