Fix build on aarch64.

While here, pet portlint.

PR:		251098
Submitted by:	mikael
This commit is contained in:
Mark Linimon 2020-11-17 17:42:48 +00:00
parent e196b0f29a
commit 75f93b8b8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555572
2 changed files with 11 additions and 2 deletions

View File

@ -11,11 +11,11 @@ MASTER_SITES= http://www.cs.ox.ac.uk/people/ian.collier/distribution/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Procedural programming language designed by IBM's UK Laboratories
CONFLICTS= rexx-regina-* oorexx-[0-9]*
BROKEN_armv6= fails to link: /nxb-bin/usr/bin/ld: hidden symbol __aeabi_uidivmod in libgcc.a is referenced by DSO
BROKEN_armv7= fails to link: /nxb-bin/usr/bin/ld: hidden symbol __aeabi_uidivmod in libgcc.a is referenced by DSO
CONFLICTS= rexx-regina-* oorexx-[0-9]*
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= Make
CONFIGURE_ENV= PREFIX="${PREFIX}"

View File

@ -35,3 +35,12 @@
$(LIBDIR)/librexx.a: $(LIBFILES)
$(VERBOSE) "$(LIBDIR)/librexx.a:"
@@ -143,7 +144,7 @@ interface.o: $(SRC)/interface.c $(HFILES)
rxmathfn.rxfn: $(SRC)/rxmathfn.c $(SRC)/const.h $(SRC)/functions.h
$(VERBOSE) "rxmathfn.rxfn:"
$(CC) $(OPTFLAG) $(CCFLAG) -c $(PIC) -I$(SRC) $(SRC)/rxmathfn.c
- $(LD) $(SOFLAG) -o rxmathfn.rxfn rxmathfn.o -lm
+ $(LD) $(SOFLAG) -o rxmathfn.rxfn rxmathfn.o -L/usr/lib -lm
@rm rxmathfn.o
# If the source is in the current directory, this rule can be used.