Browse Source

riscv64: enable CTORS, fixes C++ applications, found by sorear

Waldemar Brodkorb 1 month ago
parent
commit
6c5b3b0ce2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      extra/Configs/Config.in

+ 1 - 1
extra/Configs/Config.in

@@ -544,7 +544,7 @@ config LDSO_LD_LIBRARY_PATH
 
 
 config UCLIBC_CTOR_DTOR
 config UCLIBC_CTOR_DTOR
 	bool
 	bool
-	default y if !TARGET_riscv64 && !TARGET_lm32
+	default y
 	help
 	help
 	  If you wish to build uClibc with support for global constructor
 	  If you wish to build uClibc with support for global constructor
 	  (ctor) and global destructor (dtor) support, then answer Y here.
 	  (ctor) and global destructor (dtor) support, then answer Y here.