Fix build on aarch64.
While here, pet portlint. PR: 251098 Submitted by: mikael
This commit is contained in:
parent
e196b0f29a
commit
75f93b8b8c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555572
@ -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}"
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user