File: 01-pass_flags.patch

package info (click to toggle)
tap-plugins 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 604 kB
  • sloc: ansic: 9,700; makefile: 57
file content (19 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Pass flags correctly.
Author: Jaromír Mikeš <mira.mikes@seznam.cz>
Forwarded: yno

Index: tap-plugins/Makefile
===================================================================
--- tap-plugins.orig/Makefile
+++ tap-plugins/Makefile
@@ -35,8 +35,8 @@ INSTALL_LRDF_DIR	=	/usr/local/share/lads
 # GENERAL
 
 CC	= gcc
-CFLAGS	= -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
-LDFLAGS	= -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
+CFLAGS	+= -I. -O3 -Wall -fomit-frame-pointer -fstrength-reduce -funroll-loops -ffast-math -c -fPIC -DPIC
+LDFLAGS	+= -nostartfiles -shared -Wl,-Bsymbolic -lc -lm -lrt
 MODULES = $(wildcard *.c)
 
 all: $(MODULES:%.c=%.so)