[MacPorts] #67025: opendoas @6.8.1: doesn't use the right compiler or flags

MacPorts noreply at macports.org
Wed Mar 1 20:01:16 UTC 2023

#67025: opendoas @6.8.1: doesn't use the right compiler or flags
 Reporter:  ryandesign  |      Owner:  danchr
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.8.1
 Keywords:              |       Port:  opendoas
 See build log:

 yacc  parse.y
 mv -f y.tab.c parse.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o parse.o
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o doas.o doas.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o env.o env.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o
 libopenbsd/explicit_bzero.o libopenbsd/explicit_bzero.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o
 libopenbsd/reallocarray.o libopenbsd/reallocarray.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o
 libopenbsd/execvpe.o libopenbsd/execvpe.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o libopenbsd
 /bsd-setres_id.o libopenbsd/bsd-setres_id.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o
 libopenbsd/closefrom.o libopenbsd/closefrom.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__    -c -o pam.o pam.c
 cc -I. -Ilibopenbsd -O2 -Wall -Wextra -D__darwin__  parse.o doas.o env.o
 libopenbsd/explicit_bzero.o libopenbsd/reallocarray.o libopenbsd/execvpe.o
 libopenbsd/bsd-setres_id.o libopenbsd/closefrom.o pam.o -o doas  -lpam
 rm parse.c

 Note the use of `cc` instead of `/usr/bin/clang` (as set in the `CC`
 environment variable) and the lack of `-arch` flags (as set in the
 `CFLAGS` and `LDFLAGS` environment variables).

Ticket URL: <https://trac.macports.org/ticket/67025>
MacPorts <https://www.macports.org/>
Ports system for macOS

More information about the macports-tickets mailing list