aboutsummaryrefslogtreecommitdiff
path: root/lang/gnat/files/patch-ab
blob: 9444d3a57fbd0aeb0bf06b6adf4f844047f99e9d (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
*** ./config/i386/freebsd.h.orig	Fri Dec  5 07:15:34 1997
--- ./config/i386/freebsd.h	Fri Feb 12 21:35:52 1999
***************
*** 152,159 ****
   * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
   */
  #define LIB_SPEC \
!   "%{!shared: %{mieee-fp:-lieee} %{p:-lgmon} %{pg:-lgmon} \
!      %{!ggdb:-lc} %{ggdb:-lg}}"
  #else
  #define LIB_SPEC \
    "%{!shared: \
--- 152,164 ----
   * -lc_p or -ggdb to LDFLAGS at the link time, respectively.
   */
  #define LIB_SPEC \
!   "%{!shared: \
!      %{!pg: \
!        %{!pthread: %{!kthread:-lc} %{kthread:-lpthread -lc}} \
!        %{pthread:-lc_r}} \
!      %{pg: \
!        %{!pthread: %{!kthread:-lc_p} %{kthread:-lpthread_p -lc_p}} \
!        %{pthread:-lc_r_p}}}"
  #else
  #define LIB_SPEC \
    "%{!shared: \