File: cross-build

package info (click to toggle)
axmail 2.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 544 kB
  • sloc: ansic: 2,489; sh: 263; makefile: 49
file content (16 lines) | stat: -rw-r--r-- 425 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Automatically Substitute LD and INSTALL with dh's help to cross
build from source
Author: Helmut Grohne
Last-Update: 2020-01-28

--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ all: axmail
 
 MAN_DIR = /usr/local/share/man
 CC = gcc
-LD = gcc
+LD = $(CC)
 # CFLAGS = -O2 -Wstrict-prototypes -g -I../lib
 LIBS = -lcrypt
 MODULES = utils.o config.o adduser.o command.o mailcmd.o mbox.o head.o lock.o axmail.o quit.o