| 1 |
From: Dale Richards <[email protected]> |
| 2 |
Date: Thu, 11 Jun 2026 15:04:29 +0100 |
| 3 |
Subject: tests/Makefile: Do not override compiler flags |
| 4 |
|
| 5 |
--- |
| 6 |
src/tests/Makefile | 4 ++-- |
| 7 |
1 file changed, 2 insertions(+), 2 deletions(-) |
| 8 |
|
| 9 |
diff --git a/src/tests/Makefile b/src/tests/Makefile |
| 10 |
index 108320e..a768c93 100644 |
| 11 |
--- a/src/tests/Makefile |
| 12 |
+++ b/src/tests/Makefile |
| 13 |
@@ -5,8 +5,8 @@ PKG_CONFIG ?= pkg-config |
| 14 |
|
| 15 |
TESTS = test-biquad |
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
+CFLAGS += -I.. -Wall $(shell $(PKG_CONFIG) --cflags glib-2.0) |
| 20 |
+LDFLAGS += -lm $(shell $(PKG_CONFIG) --libs glib-2.0) |
| 21 |
|
| 22 |
all: $(TESTS) |
| 23 |
|