Skip to content

Commit

Permalink
Fixed C type on AArch64.
Browse files Browse the repository at this point in the history
  • Loading branch information
interkosmos committed Jun 26, 2024
1 parent f02c662 commit 85d59b8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
# freebsd_debug - FreeBSD debug.
# freebsd_release - FreeBSD release.
# linux - Alias for target `linux_release`.
# linux_aarch64 - Linux release (aarch64)
# linux_debug - Linux debug.
# linux_release - Linux release.
# linux_release - Linux release (x86-64).
# test - Build test programs.
#
# Targets for system-wide installation:
Expand Down Expand Up @@ -388,8 +389,8 @@ OBJ = dm_ansi.o \

# Named build targets.
.PHONY: all app clean deinstall doc freebsd freebsd_debug freebsd_release guide \
help html install linux linux_debug linux_release man options pdf purge \
setup test
help html install linux linux_aarch64 linux_debug linux_release man \
options pdf purge setup test

# Library target.
all: $(TARGET) $(SHARED) test app
Expand Down Expand Up @@ -442,6 +443,10 @@ freebsd:
#
# ******************************************************************************

linux_aarch64:
$(MAKE) all OS=linux PREFIX=/usr PPFLAGS="-cpp -D__linux__ -D__aarch64__"
$(STRIP) -s $(DISTDIR)/dm*

linux_debug:
$(MAKE) all OS=linux PREFIX=/usr RELEASE="$(DEBUG)"

Expand Down Expand Up @@ -1100,9 +1105,10 @@ help:
@echo " help - Show this help."
@echo " html - Convert man pages to HTML (requires mandoc)."
@echo " install - Install DMPACK to PREFIX."
@echo " linux - Build Linux release version."
@echo " linux_debug - Build Linux debug version."
@echo " linux_release - Build Linux release version."
@echo " linux - Build Linux release version (x86-64)."
@echo " linux_aarch64 - Build Linux release version (aarch64)."
@echo " linux_debug - Build Linux debug version (x86-64)."
@echo " linux_release - Build Linux release version (x86-64)."
@echo " man - Convert man pages (requires AsciiDoctor)."
@echo " options - Show build flags and options."
@echo " pdf - Convert man pages to PDF (requires ps2pdf)."
Expand Down
2 changes: 1 addition & 1 deletion vendor/fortran-unix

0 comments on commit 85d59b8

Please sign in to comment.