diff --git a/hostapd/Makefile b/hostapd/Makefile index ef093e5bf..d7ff91e14 100644 --- a/hostapd/Makefile +++ b/hostapd/Makefile @@ -77,7 +77,7 @@ HOBJS += ../src/utils/trace.o LDFLAGS += -rdynamic CFLAGS += -funwind-tables ifdef CONFIG_WPA_TRACE_BFD -CFLAGS += -DWPA_TRACE_BFD +CFLAGS += -DPACKAGE="hostapd" -DWPA_TRACE_BFD LIBS += -lbfd LIBS_c += -lbfd LIBS_h += -lbfd diff --git a/wpa_supplicant/Makefile b/wpa_supplicant/Makefile index d1e11a3ee..496f6fbca 100644 --- a/wpa_supplicant/Makefile +++ b/wpa_supplicant/Makefile @@ -106,7 +106,7 @@ OBJS_priv += ../src/utils/trace.o LDFLAGS += -rdynamic CFLAGS += -funwind-tables ifdef CONFIG_WPA_TRACE_BFD -CFLAGS += -DWPA_TRACE_BFD +CFLAGS += -DPACKAGE="wpa_supplicant" -DWPA_TRACE_BFD LIBS += -lbfd LIBS_p += -lbfd LIBS_c += -lbfd