Projects
Eulaceura:Factory
deepin-anything
_service:obs_scm:0001-change-compile-option.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0001-change-compile-option.patch of Package deepin-anything
From b85d3426641d53d14e47ca353aaf8ee0b212fa1b Mon Sep 17 00:00:00 2001 From: leeffo <liweiganga@uniontech.com> Date: Fri, 28 Jul 2023 16:25:32 +0800 Subject: [PATCH] change compile option --- cli/Makefile | 2 +- kernelmod/Makefile | 2 +- library/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cli/Makefile b/cli/Makefile index 3aaa54e..66b8cee 100644 --- a/cli/Makefile +++ b/cli/Makefile @@ -1,4 +1,4 @@ -CFLAGS := -std=gnu99 -Wall -I../library/inc -I../library/inc/index -I../kernelmod -Iinc +CFLAGS := -g -std=gnu99 -Wall -I../library/inc -I../library/inc/index -I../kernelmod -Iinc LDFLAG := -lpthread -lanything all: release debug diff --git a/kernelmod/Makefile b/kernelmod/Makefile index ae4fd62..dc39a01 100644 --- a/kernelmod/Makefile +++ b/kernelmod/Makefile @@ -1,6 +1,6 @@ obj-m += vfs_monitor.o vfs_monitor-objs := vfs_utils.o arg_extractor.o vfs_change.o vfs_kretprobes.o -ccflags-y := -std=gnu99 -Wno-declaration-after-statement -O3 +ccflags-y := -g -std=gnu99 -Wno-declaration-after-statement -O3 cwd := $(shell pwd) kdir := /lib/modules/$(shell uname -r)/build diff --git a/library/Makefile b/library/Makefile index 78b63fd..5c2adf3 100644 --- a/library/Makefile +++ b/library/Makefile @@ -1,7 +1,7 @@ CC := gcc GLIB_INCL := $(shell pkg-config --cflags glib-2.0) GLIB_LIB := $(shell pkg-config --libs glib-2.0) -CFLAGS := -std=gnu99 -Wall -Wl,--no-undefined -D_GNU_SOURCE -Iinc -Iinc/index ${GLIB_INCL} -shared -fPIC -fvisibility=hidden +CFLAGS := -g -std=gnu99 -Wall -Wl,--no-undefined -D_GNU_SOURCE -Iinc -Iinc/index ${GLIB_INCL} -shared -fPIC -fvisibility=hidden LDFLAG := -lpthread -lpcre ${GLIB_LIB} all: release debug -- 2.20.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2