File: fix_blhc.patch

package info (click to toggle)
wise 2.4.1-28
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 39,348 kB
  • sloc: ansic: 276,376; makefile: 1,021; perl: 886; lex: 93; yacc: 81; sh: 25
file content (21 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Pass missing flags to fix BLHC
Author: Lance Lin <lq27267@gmail.com>
Last-Update: 2025-03-24
Forwarded: not-needed

--- a/src/dyc/makefile
+++ b/src/dyc/makefile
@@ -24,11 +24,11 @@
 
 
 CC = cc
-CFLAGS = -pthread -c -g  -DUNIX  -I../base/
+CFLAGS += $(CPPFLAGS) -pthread -c -g  -DUNIX  -I../base/
 #CFLAGS = -c -g  -DUNIX -DNOERROR -DLINUX -I../base/
 #CFLAGS = -c -DNOERROR
 INCFLAGS = -I../base/
-LFLAGS =  -g  -lm -L../base/ -lpthread
+LFLAGS = $(LDFLAGS) -g  -lm -L../base/ -lpthread
 AR_OPTIONS = ru
 
 RANLIB_NEEDED = 0