mirror of
https://github.com/opnsense/src.git
synced 2026-02-14 08:13:38 -05:00
You write that LDFLAGS+= -Xlinker -Bstatic no more needed, but you have CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE) This -static doesn't make any sense in your version, because it not passed to linker's state (LDFLAGS), so we have SHARED /usr/bin/ld in this case. (Older Makefile produce non-shared ld). I suppose, that -static in CFLAGS was introduced to make non-shared ld, so I restore previous LDFLAGS to have non-shared ld. If we want to have shared ld we need to remove -static from CFLAGS too, not only LDFLAGS, but this need special issue and corresponding commit log. Your current version hang into intermediate state (beetween two sides), so I move it to one side. Second, I restore NOPIC dependance again from older Makefile: .if !defined(NOPIC) SUBDIR+= rtld .endif We don't need ld.so, if NOPIC P.S. I don't see any purpose to commit new makefile, old version is better. |
||
|---|---|---|
| .. | ||
| as | ||
| awk | ||
| bc | ||
| cpio | ||
| cvs | ||
| dc | ||
| diff | ||
| diff3 | ||
| gdb | ||
| grep | ||
| gzip | ||
| ld | ||
| man | ||
| patch | ||
| pr | ||
| rcs | ||
| sdiff | ||
| sort | ||
| tar | ||