summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pgplot/g77_gcc.conf.patch
blob: e41e387cad10e94f78488eea46a66ead679fe815 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
diff -ruN a/sys_linux/g77_gcc.conf b/sys_linux/g77_gcc.conf
--- a/sys_linux/g77_gcc.conf	1969-12-31 19:00:00.000000000 -0500
+++ b/sys_linux/g77_gcc.conf	2021-04-22 16:48:45.000000000 -0400
@@ -34,13 +34,13 @@
 # Mandatory.
 # The FORTRAN compiler to use.
  
-   FCOMPL="g77"
+   FCOMPL="@FCOMPL@"
 
 # Mandatory.
 # The FORTRAN compiler flags to use when compiling the pgplot library.
 # (NB. makemake prepends -c to $FFLAGC where needed)
  
-   FFLAGC="-u -Wall -fPIC -O"
+   FFLAGC="@FFLAGC@"
 
 # Mandatory.
 # The FORTRAN compiler flags to use when compiling fortran demo programs.
@@ -52,12 +52,12 @@
 # Mandatory.
 # The C compiler to use.
  
-   CCOMPL="gcc"
+   CCOMPL="@CCOMPL@"
 
 # Mandatory.
 # The C compiler flags to use when compiling the pgplot library.
  
-   CFLAGC="-Wall -fPIC -DPG_PPU -O"
+   CFLAGC="@CFLAGC@"
 
 # Mandatory.
 # The C compiler flags to use when compiling C demo programs.
@@ -73,9 +73,9 @@
 # Mandatory.
 # The library-specification flags to use when linking normal pgplot
 # demo programs.
  
-   LIBS="-L/usr/X11R6/lib -lX11"
+   LIBS="@LIBS@"
 
 # Optional: Needed by XMDRIV (/xmotif).
 # The library-specification flags to use when linking motif
 # demo programs.
@@ -108,8 +108,8 @@
 # Optional: Needed if SHARED_LIB is set.
 # How to create a shared library from a trailing list of object files.
  
-   SHARED_LD="gcc -shared  -o $SHARED_LIB"
+   SHARED_LD="@SHARED_LD@"
 
 # Optional:
 # On systems such as Solaris 2.x, that allow specification of the
 # libraries that a shared library needs to be linked with when a