File: 1020-src-makefile-flags.diff

package info (click to toggle)
gpstrans 0.41-13
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 916 kB
  • sloc: ansic: 6,200; makefile: 158; xml: 17
file content (17 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Do not override exported CFLAGS and LDFLAGS
Author: Emanuele Rocca <ema@debian.org>

--- gpstrans-0.41.orig/src/Makefile
+++ gpstrans-0.41/src/Makefile
@@ -11,9 +11,9 @@ CC	= gcc
 
 # use -DSUNOS41 for SunOS 4.1.x
 # usr -DHPUX    for HPUX
-CFLAGS	= -Wall -g -D__LINUX__
+CFLAGS	+= -Wall -g -D__LINUX__
 # -O3
-LDFLAGS	= -lm
+LDFLAGS	+= -lm
 
 
 ##############################################################################