Closed FFY00 closed 5 years ago
The GtkD makefile isn't adding these flags, ldc might be picking them up from your systems configuration?
More specifically the LDFLAGS environment variable is set to these flags as they are defined in /etc/makepkg.conf
Yes, but aren't those valid flags?
I haven't been able to look at this because I have been away without a computer. I come home today.
If you want to look at this yourself uncomment the check function in https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/gtkd and try to build the package.
ldc doesn't have the -Wl,
flag only the same -L
flag dmd uses to pass arguments to the linker.
You probably also want to set DC
to ldc in the check function.