1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
|
Description: Build tests with default optimization
Author: Adrian Bunk <bunk@debian.org>
Bug-Debian: https://bugs.debian.org/984190
Forwarded: https://github.com/google/libnop/issues/32
--- libnop-0.0~git20200728.45dfe0f.orig/Makefile
+++ libnop-0.0~git20200728.45dfe0f/Makefile
@@ -44,7 +44,7 @@ else
# Build tests if gtest is found.
M_NAME := test
-M_CFLAGS := -I$(GTEST_INCLUDE) -O0 -g
+M_CFLAGS := -I$(GTEST_INCLUDE) -Wno-error -g
M_LDFLAGS := -L$(GTEST_LIB) -lgtest -lgmock
M_OBJS := \
test/nop_tests.o \
|