libsvm/0001-add-build-CFLAGS-g.patch
zhangtao2020 84881d9d35 add CFLAGS -g and strip binary files
(cherry picked from commit 7154a9cbb501353bca732048bcae004782a62f46)
2021-09-07 16:23:09 +08:00

24 lines
504 B
Diff

From 26674a6d4458479698d3776782199edccf52e231 Mon Sep 17 00:00:00 2001
From: zhangtao2020 <18066722603@163.com>
Date: Mon, 6 Sep 2021 16:06:32 +0800
Subject: [PATCH] add build CFLAGS -g
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index db6ab34..3920b6c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
CXX ?= g++
-CFLAGS = -Wall -Wconversion -O3 -fPIC
+CFLAGS = -Wall -Wconversion -O3 -fPIC -g
SHVER = 2
OS = $(shell uname)
--
2.27.0