Bug 3579 - Minor changes to Makefile and scripts for Solaris
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: GIT MASTER
Hardware: Sun Solaris
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-03-25 06:15 EDT by Vincent Cojot
Modified: 2008-03-28 12:16:54 EDT
0 users

See Also:


Attachments
Proposed Patch (1.87 KB, patch)
2008-03-25 06:16 EDT, Vincent Cojot

Description Vincent Cojot 2008-03-25 06:15:25 EDT
Some minor changes to:
- CFLAGS for Solaris/Sparc
- startup scripts in the Solaris package templates
Comment 1 Vincent Cojot 2008-03-25 06:16:37 EDT
Created attachment 1708 [details]
Proposed Patch
Comment 2 Vincent Cojot 2008-03-28 12:09:26 EDT
Comment on attachment 1708 [details]
Proposed Patch

>Index: trunk/misc/setup/pkg/ioq3ded.sh
>===================================================================
>--- trunk/misc/setup/pkg/ioq3ded.sh	(revision 1274)
>+++ trunk/misc/setup/pkg/ioq3ded.sh	(working copy)
>@@ -14,7 +14,7 @@
> # EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
> EXEC_BIN=ioq3ded.${COMPILE_ARCH}
> 
>-EXEC_FLAGS="+set fs_basepath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set com_ansiColor 0"
>+EXEC_FLAGS="+set fs_basepath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set ttycon 0 +set com_ansiColor 0"
> 
> EXEC_DIR_LIST="${IOQ3_DIR}"
> 
>Index: trunk/misc/setup/pkg/ioquake3.sh
>===================================================================
>--- trunk/misc/setup/pkg/ioquake3.sh	(revision 1274)
>+++ trunk/misc/setup/pkg/ioquake3.sh	(working copy)
>@@ -14,7 +14,7 @@
> # EXEC_BIN=ioquake3-smp.${COMPILE_ARCH}
> # EXEC_BIN=ioq3ded.${COMPILE_ARCH}
> 
>-EXEC_FLAGS="+set fs_basepath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set com_ansiColor 0"
>+EXEC_FLAGS="+set fs_basepath ${IOQ3_DIR} +set vm_game 1 +set vm_cgame 1 +set vm_ui 1 +set sv_pure 1 +set ttycon 0 +set com_ansiColor 0"
> 
> EXEC_DIR_LIST="${IOQ3_DIR}"
> 
>Index: trunk/Makefile
>===================================================================
>--- trunk/Makefile	(revision 1274)
>+++ trunk/Makefile	(working copy)
>@@ -656,10 +656,10 @@
>   OPTIMIZE = -O3 -ffast-math -funroll-loops
> 
>   ifeq ($(ARCH),sparc)
>-    OPTIMIZE = -O3 -ffast-math -falign-loops=2 \
>-      -falign-jumps=2 -falign-functions=2 -fstrength-reduce \
>-      -mtune=ultrasparc -mv8plus -mno-faster-structs \
>-      -funroll-loops
>+    OPTIMIZE = -O3 -ffast-math \
>+      -fstrength-reduce -falign-functions=2 \
>+      -mtune=ultrasparc3 -mv8plus -mno-faster-structs \
>+      -funroll-loops
>   else
>   ifeq ($(ARCH),i386)
>     OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
Comment 3 Thilo Schulz 2008-03-28 12:16:54 EDT
committed.