Revert "build: compile with -ffunction-sections, -fdata-sections and LTO"
This reverts commit a51413988c
.
It causes assertion failures in ld and requires changes to linked libraries,
so drop this for now.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
3c30b17170
commit
65b8333f5b
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -1,6 +1,6 @@
|
||||||
IWINFO_BACKENDS = $(BACKENDS)
|
IWINFO_BACKENDS = $(BACKENDS)
|
||||||
IWINFO_CFLAGS = $(CFLAGS) -std=gnu99 -fstrict-aliasing -ffunction-sections -fdata-sections -flto -Iinclude
|
IWINFO_CFLAGS = $(CFLAGS) -std=gnu99 -fstrict-aliasing -Iinclude
|
||||||
IWINFO_LDFLAGS = -Wl,-gc-sections -flto -luci -lubox -lubus
|
IWINFO_LDFLAGS = -luci -lubox -lubus
|
||||||
|
|
||||||
IWINFO_LIB = libiwinfo.so
|
IWINFO_LIB = libiwinfo.so
|
||||||
IWINFO_LIB_LDFLAGS = $(LDFLAGS) -shared
|
IWINFO_LIB_LDFLAGS = $(LDFLAGS) -shared
|
||||||
|
|
Loading…
Reference in a new issue