ref: b3488c5dd50392ce8132b062223d9764772c6353
parent: 7fee89eaa80658de4de6bd96cc479232bbcca627
author: Roberto E. Vargas Caballero <[email protected]>
date: Sun Aug 26 06:39:03 EDT 2018
[inc] Clean default crt and ld configuration files This files were not updated and they had some information about other crt.o and libraries. The best way to handle this problem is to have default files for scc and having other files specific systems.
--- a/inc/ldflags.def.h
+++ b/inc/ldflags.def.h
@@ -1,6 +1,5 @@
char *ldflags[] = {
"-static",
- /* on OpenBSD, disable pie */
- /* "-nopie", */
+ "-z","nodefaultlib",
NULL
};
--- a/inc/syscrts.def.h
+++ b/inc/syscrts.def.h
@@ -1,5 +1,5 @@
char *syscrts[] = {
/* configure below your system crts */
- /* PREFIX "/lib/scc/crt0.o", */
+ /* PREFIX "/lib/scc/crt.o", */
NULL
};