Closed lezcano closed 1 week ago
The issue is that linker flags like -L $PREFIX/lib
are added to $CFLAGS
which is wrong. They should only be added to $LDFLAGS
What Isuru said above makes sense to me.
I agree, only compiler flags in CFLAGS and linker flags in LDFLAGS without intermixing.
Solution to issue cannot be found in the documentation.
Issue
I'm getting the following errors when trying to build a library with
-Werror,-Wunused-command-line-argument
and a locally build clang.@isuruf mentions that this might indicate a small bug within conda-forge.
Installed packages
Environment info