summaryrefslogtreecommitdiff
path: root/lang/gnat/files/patch-ad
blob: b1a4ed1dd153f7353b58567dd9b677fe1a348b1f (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
diff -c orig/ada/Makefile.in gcc/ada/Makefile.in
*** orig/ada/Makefile.in	Tue Jan 21 00:01:54 1997
--- gcc-2.7.2.1/ada/Makefile.in	Sat May 10 22:42:27 1997
***************
*** 189,193 ****
  	$(CC) -c $(ALL_ADAFLAGS) $<
  .ads.o:
! 	$(CC) -c $(ALL_ADAFLAGS) $<
  
  # This tells GNU make version 3 not to export all the variables
--- 189,199 ----
  	$(CC) -c $(ALL_ADAFLAGS) $<
  .ads.o:
! 	@if [ -f $*.adb ]; then \
! 		echo "$(CC) -c $(ALL_ADAFLAGS) $*.adb"; \
! 		$(CC) -c $(ALL_ADAFLAGS) $*.adb; \
! 	else \
! 		echo "$(CC) -c $(ALL_ADAFLAGS) $*.ads"; \
! 		$(CC) -c $(ALL_ADAFLAGS) $*.ads; \
! 	fi
  
  # This tells GNU make version 3 not to export all the variables
***************
*** 738,741 ****
--- 744,748 ----
  		sparc-sun-sunos5*)	letter=s ;;\
  	        *86*-linux*)		letter=l ;;\
+ 		*86*-freebsd*)		letter=f ;;\
  	        mips-sgi-irix*)		letter=g ;;\
  		hppa*-hp-hpux*)		letter=h ;;\
***************
*** 779,782 ****
--- 786,790 ----
  		*-go32-msdos | *-go32  |\
  		*86*-linux*            |\
+ 		*86*-freebsd*          |\
  		*) \
  		\
***************
*** 845,848 ****
--- 853,857 ----
  		*-go32-msdos | *-go32  |\
                  *86*-linux*            |\
+                 *86*-freebsd*          |\
                  *)		       \
                  \