Hi,

I added another package to my buildroot via buildroot externals.
Its a generik-package in the mk file and the BUILD_CMDS is

$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)

Within the package source-Makefile the -fPIC is added to CFLAGS
CFLAGS += -fPIC

Outside of buildroot the package builds the lib as .so (-shared is also defined), but within buildroot the -fPIC option in CFLAGS is missing.

CFLAGS within the buildroot env is: -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -O2 -g0 -D_FORTIFY_SOURCE=1

How can I solve this and also change the -g0 and -O?



Thanks for an answere.

Best regards,

Alex

_______________________________________________
busybox mailing list
[email protected]
https://lists.busybox.net/mailman/listinfo/busybox

Reply via email to