Bug 442883

Summary: Add super-H(sh3,4) architecture support.
Product: [Fedora] Fedora Reporter: CHIKAMA Masaki <masaki.chikama>
Component: starAssignee: Peter Vrabec <pvrabec>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: dkopecek, schily
Target Milestone: ---   
Target Release: ---   
Hardware: sh4   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-12 12:36:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description CHIKAMA Masaki 2008-04-17 11:58:19 UTC
Description of problem:
 This patch enables to compile on sh3,sh4 architecture.
I know it's ugly that all package which include a part of cdrecord
has different solution for this problem.

See also #441824, #441823 .

--- star.spec.org       2008-04-16 23:50:17.000000000 +0900
+++ star.spec   2008-04-16 23:51:00.000000000 +0900
@@ -28,7 +28,7 @@
 %endif
 %patch3 -p1 -b .changewarnSegv
 
-for PLAT in %{arm} x86_64 ppc64 s390 s390x; do
+for PLAT in %{arm} x86_64 ppc64 s390 s390x sh3 sh4 sh4a; do
         for AFILE in gcc cc; do
                 [ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \
                 && ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul

Comment 1 Peter Vrabec 2008-05-12 12:36:58 UTC
done.(star-1.5a84-5.fc10)

Comment 2 Jörg Schilling 2009-01-25 13:19:42 UTC
The "problem" you believe to see is a result of using a
make program with limited funtionality.

Just use "smake" and it automagically compiles
on all platforms because of the automake features
that are implemented in smame.