Opened 21 months ago
#67025 assigned defect
opendoas @6.8.1: doesn't use the right compiler or flags
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | danchr (Dan Villiom Podlaski Christiansen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | Cc: | ||
Port: | opendoas |
Description
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 parse.c 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).
Note: See
TracTickets for help on using
tickets.