Blame SOURCES/star-disable-profiling.patch

646d41
Profiling support is currently missing on aarch64, but it should be included in glibc-2.18. For now, can we just disable it for aarch64?
646d41
646d41
Attached is a patch from Mark Salter that disables profiling in star. Also attached is the spec file I used for testing the build. 
646d41
It adds the new patch and adds aarch64 to the list of Linux platforms (for rules).
646d41
646d41
646d41
646d41
diff --git a/lib/libschily_p.mk b/lib/libschily_p.mk
646d41
index 8d9cec6..9bfc9b2 100644
646d41
--- a/lib/libschily_p.mk
646d41
+++ b/lib/libschily_p.mk
646d41
@@ -14,7 +14,7 @@ TARGETLIB=	schily
646d41
 CPPOPTS +=	-Istdio
646d41
 CPPOPTS +=	-DUSE_SCANSTACK	# Try to scan stack frames
646d41
 CPPOPTS +=	-DPORT_ONLY	# Add missing funcs line snprintf for porting
646d41
-COPTS +=	$(COPTGPROF)
646d41
+# COPTS +=	$(COPTGPROF)
646d41
 include		Targets
646d41
 LIBS=		
646d41
 
646d41
diff --git a/libdeflt/libdeflt_p.mk b/libdeflt/libdeflt_p.mk
646d41
index 477deb2..8542bbc 100644
646d41
--- a/libdeflt/libdeflt_p.mk
646d41
+++ b/libdeflt/libdeflt_p.mk
646d41
@@ -12,7 +12,7 @@ SUBINSDIR=	/profiled
646d41
 INSDIR=		lib
646d41
 TARGETLIB=	deflt
646d41
 #CPPOPTS +=	-Ispecincl
646d41
-COPTS +=	$(COPTGPROF)
646d41
+# COPTS +=	$(COPTGPROF)
646d41
 include		Targets
646d41
 LIBS=		
646d41
 
646d41
diff --git a/libfind/libfind_p.mk b/libfind/libfind_p.mk
646d41
index f4b2a56..f61e507 100644
646d41
--- a/libfind/libfind_p.mk
646d41
+++ b/libfind/libfind_p.mk
646d41
@@ -11,7 +11,7 @@ SUBINSDIR=	/profiled
646d41
 #VPATH=		.:stdio:$(ARCHDIR)
646d41
 INSDIR=		lib
646d41
 TARGETLIB=	find
646d41
-COPTS +=	$(COPTGPROF)
646d41
+#COPTS +=	$(COPTGPROF)
646d41
 #CPPOPTS +=	-Istdio
646d41
 #CPPOPTS +=	-DUSE_SCANSTACK
646d41
 
646d41
diff --git a/librmt/librmt_p.mk b/librmt/librmt_p.mk
646d41
index f16fd84..565b28a 100644
646d41
--- a/librmt/librmt_p.mk
646d41
+++ b/librmt/librmt_p.mk
646d41
@@ -14,7 +14,7 @@ TARGETLIB=	rmt
646d41
 CPPOPTS +=	-DUSE_REMOTE
646d41
 CPPOPTS +=	-DUSE_RCMD_RSH
646d41
 CPPOPTS +=	-DUSE_LARGEFILES
646d41
-COPTS +=	$(COPTGPROF)
646d41
+#COPTS +=	$(COPTGPROF)
646d41
 include		Targets
646d41
 LIBS=		
646d41