Hi,
On 25/08/2020 09:04, Jo-Philipp Wich wrote:
Hi,
Pretty much all packages stage into staging_dir/target-*/usr - I don't
think there are any -I/-L flags we can remove.
we're patching the gcc specs [1], [2] to implicitly add $STAGING_DIR/usr/lib
to the link- and $STAGING_DIR/usr/include to the CPP flags. There is no need
to globally pass these as -I and -L flags respectively.
And indeed, I just successfully completed a test build with the following
patch applied:
I missed the specs file, and indeed, those two lines are redundant and
can be removed.
But still, with just your patch I get the same build error as before.
The directories are passed to the toolchain, but don't yet exist
(depending on the target/package selection I guess). My patch on top of
yours fixes it again.
Regards,
Andre
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel