File: hppa-build.diff

package info (click to toggle)
xmotd 1.17.3b-12
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 524 kB
  • sloc: ansic: 2,879; makefile: 757; sh: 20
file content (29 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (5)
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
From: Marcin Owsiany <marcin@owsiany.pl>
Subject: [PATCH] bugfix/hppa-build

Fix the linux on hppa build.
Remove the assumption that hp arch == hp-ux.

Signed-off-by: Marcin Owsiany <marcin@owsiany.pl>

---
 Imakefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Imakefile b/Imakefile
index 539905c..79ab857 100644
--- a/Imakefile
+++ b/Imakefile
@@ -76,8 +76,10 @@ XCOMM No space after the equals-sign
 .PRECIOUS: distrib
 
 #ifdef HPArchitecture
+#ifndef LinuxArchitecture
         CCOPTIONS = -Aa -D_HPUX_SOURCE
 #endif
+#endif
 
 #ifdef HAVE_XPM
           XPM_LIB = -lXpm
-- 
tg: (d3dafc5..) bugfix/hppa-build (depends on: upstream)