about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/gcc/patches/13/no-sys-dirs-riscv.patch
blob: add4d59b41aefa80db0a9a3d40b0bdd6e5992e40 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/gcc/config/riscv/linux.h
+++ b/gcc/config/riscv/linux.h
@@ -69,9 +69,5 @@
 
 #define TARGET_ASM_FILE_END file_end_indicate_exec_stack
 
-#define STARTFILE_PREFIX_SPEC 			\
-   "/lib" XLEN_SPEC "/" ABI_SPEC "/ "		\
-   "/usr/lib" XLEN_SPEC "/" ABI_SPEC "/ "	\
-   "/lib/ "					\
-   "/usr/lib/ "
+#define STARTFILE_PREFIX_SPEC ""