File: nccflags.patch

package info (click to toggle)
linux86 0.16.21-2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,072 kB
  • sloc: ansic: 66,757; asm: 6,154; makefile: 1,374; sh: 703
file content (18 lines) | stat: -rw-r--r-- 556 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Explicitly clear flags for ncc
Author: Stephen Kitt <skitt@debian.org>

The usual flags are meaningless for ncc.

--- a/makefile.in
+++ b/makefile.in
@@ -114,8 +114,8 @@
 
 ##############################################################################
 
-LIBARGS= CC=ncc "CCFLAGS=-O" AR=$(AR) ARFLAGS=$(ARFLAGS)
-LIB3ARGS= CC=ncc AR=$(AR) ARFLAGS=$(ARFLAGS)
+LIBARGS= CC=ncc "CCFLAGS=-O" CPPFLAGS= AR=$(AR) ARFLAGS=$(ARFLAGS)
+LIB3ARGS= CC=ncc CCFLAGS= CPPFLAGS= AR=$(AR) ARFLAGS=$(ARFLAGS)
 
 # Season in the top makefile
 ELKSSRC= %ELKSSRC%