Created
December 8, 2018 22:58
-
-
Save neheb/5f4ddcfa370952808dca4842f5bd3dc5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/net/aircrack-ng/Makefile | |
+++ b/net/aircrack-ng/Makefile | |
@@ -33,6 +33,7 @@ PKG_CONFIG_DEPENDS:= \ | |
CONFIG_AIRCRACK_NG_HWLOC \ | |
CONFIG_AIRCRACK_NG_SQLITE3 | |
+include $(INCLUDE_DIR)/uclibc++.mk | |
include $(INCLUDE_DIR)/package.mk | |
define Package/aircrack-ng | |
@@ -91,7 +92,6 @@ ifeq ($(CONFIG_AIRCRACK_NG_OPTIMIZE_SPEED),y) | |
endif | |
TARGET_LDFLAGS+= \ | |
- -static-libstdc++ \ | |
-Wl,--gc-sections | |
define Package/aircrack-ng/install |
Actually the depends needs to be switched to $(CXX_DEPENDS). OpenWrt allows to select between libstdcpp and uclibc++ globally.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No need for that depends. uclibc++.mk handles it.