patches/stdcxx-01-config.diff
author drdoug007
Wed, 05 Sep 2007 09:05:42 +0000
changeset 454 bc4b3fe73497
child 1123 8312bda73b1a
permissions -rw-r--r--
2007-09-05 Doug Scott <[email protected]> * SFEy4mscaler.spec: *NEW* Video scaler * SFEstdcxx.spec: *NEW* Apache Standard C++ Library * base-specs/y4mscaler.spec: base spec * base-specs/stdcxx.spec: base spec * patches/y4mscaler-01-makefile.diff: Solaris Makefile * patches/stdcxx-01-config.diff: Solaris config modes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
454
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     1
--- stdcxx-4.1.3/etc/config/sunpro.config.orig	2007-09-05 14:02:09.168881693 +0700
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     2
+++ stdcxx-4.1.3/etc/config/sunpro.config	2007-09-05 14:05:36.354066280 +0700
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     3
@@ -29,7 +29,7 @@
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     4
 DEBUG_CXXFLAGS  = -g
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     5
 DEBUG_CPPFLAGS  =
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     6
 
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     7
-OPTMZ_CXXFLAGS  = -O
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     8
+OPTMZ_CXXFLAGS  = -xO4
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
     9
 OPTMZ_CPPFLAGS  =
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    10
 
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    11
 # shared/static library options
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    12
@@ -74,7 +74,7 @@
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    13
 SINGL_LDFLAGS  =
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    14
 
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    15
 # wide (64-bit flags)
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    16
-WIDE_CXXFLAGS  = -xarch=v9
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    17
-WIDE_LDFLAGS   = -xarch=v9
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    18
-WIDE_LDSOFLAGS = -xarch=v9
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    19
+WIDE_CXXFLAGS  = -m64
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    20
+WIDE_LDFLAGS   = -m64
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    21
+WIDE_LDSOFLAGS = -m64
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    22
 WIDE_ARFLAGS   =
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    23
--- stdcxx-4.1.3/etc/config/gcc.config.orig	2007-09-05 14:09:10.683804830 +0700
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    24
+++ stdcxx-4.1.3/etc/config/gcc.config	2007-09-05 14:08:40.565487451 +0700
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    25
@@ -64,7 +64,7 @@
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    26
   endif
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    27
 endif
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    28
 
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    29
-LDSOFLAGS       = -shared
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    30
+LDSOFLAGS       = -Wl,-G
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    31
 
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    32
 ifneq ($(CXX_MAJOR),2)
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    33
 LDSOFLAGS      += -lsupc++
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    34
@@ -122,7 +122,7 @@
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    35
 DEBUG_CXXFLAGS  = -g
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    36
 DEBUG_CPPFLAGS  =
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    37
 
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    38
-OPTMZ_CXXFLAGS  = -O2
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    39
+OPTMZ_CXXFLAGS  = -O3
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    40
 OPTMZ_CPPFLAGS  =
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    41
 
bc4b3fe73497 2007-09-05 Doug Scott <[email protected]>
drdoug007
parents:
diff changeset
    42
 # shared/static library options