diff --git a/common/BUILD.gn b/common/BUILD.gn index fb66caf0f22ab5291747957aae96a060032a9a9e..52a0d330c43a9abe56f0d0c74126d99575dee3b7 100644 --- a/common/BUILD.gn +++ b/common/BUILD.gn @@ -33,7 +33,6 @@ ohos_shared_library("distributed_device_profile_common") { cflags = [ "-fPIC", - "-fstack-protector-strong", "-D_FORTIFY_SOURCE=2", "-O2", ] diff --git a/interfaces/innerkits/core/BUILD.gn b/interfaces/innerkits/core/BUILD.gn index ed7566c516bf0d5081f05334a2a1caee5b045125..8af56923e0c8fb81a1cbb2fb4484ade24bd5287c 100644 --- a/interfaces/innerkits/core/BUILD.gn +++ b/interfaces/innerkits/core/BUILD.gn @@ -36,7 +36,6 @@ ohos_shared_library("distributed_device_profile_sdk") { cflags = [ "-fPIC", - "-fstack-protector-strong", "-D_FORTIFY_SOURCE=2", "-O2", ] diff --git a/old/interfaces/innerkits/core/BUILD.gn b/old/interfaces/innerkits/core/BUILD.gn index eea2dea669c931be0edfe19a50df705be8377790..8985fa72561235d36229ba8215c260075a1bc378 100644 --- a/old/interfaces/innerkits/core/BUILD.gn +++ b/old/interfaces/innerkits/core/BUILD.gn @@ -33,7 +33,6 @@ ohos_shared_library("distributed_device_profile_client") { cflags = [ "-fPIC", - "-fstack-protector-strong", "-D_FORTIFY_SOURCE=2", "-O2", ] diff --git a/old/radar/BUILD.gn b/old/radar/BUILD.gn index ee6a7427badae0d85b2ad3425ceab05d47ad54b7..63e5bf28122101f7165fe4188cb030153d956934 100644 --- a/old/radar/BUILD.gn +++ b/old/radar/BUILD.gn @@ -24,7 +24,6 @@ ohos_shared_library("deviceprofileradar") { cflags = [ "-fPIC", - "-fstack-protector-strong", "-D_FORTIFY_SOURCE=2", "-O2", ] diff --git a/old/services/core/BUILD.gn b/old/services/core/BUILD.gn index a8fd62f3f58e905766dc6e86f80d1827883002d0..e92043317fc954b2195bc7f8ae64ef14e33bef2c 100644 --- a/old/services/core/BUILD.gn +++ b/old/services/core/BUILD.gn @@ -60,7 +60,6 @@ ohos_shared_library("distributed_device_profile") { cflags = [ "-fPIC", - "-fstack-protector-strong", "-D_FORTIFY_SOURCE=2", "-O2", ] diff --git a/radar/BUILD.gn b/radar/BUILD.gn index 15213a4f93148535242bf682fee71adefe7261d1..26f585c95d344a70f51dc48d260d82242664594e 100644 --- a/radar/BUILD.gn +++ b/radar/BUILD.gn @@ -24,7 +24,6 @@ ohos_shared_library("device_profile_radar") { cflags = [ "-fPIC", - "-fstack-protector-strong", "-D_FORTIFY_SOURCE=2", "-O2", ] diff --git a/sa_profile/6001.json b/sa_profile/6001.json index 4ad2f3103d3ab5fc1be938c36aaac98798a7970b..dbbcb3b246f9cf42e64b0edecc65f962314243a8 100644 --- a/sa_profile/6001.json +++ b/sa_profile/6001.json @@ -5,7 +5,7 @@ "name": 6001, "libpath": "libdistributed_device_profile_svr.z.so", "run-on-create": false, - "distributed": true, + "distributed": false, "dump-level": 1, "recycle-strategy": "low-memory", "start-on-demand": { @@ -31,4 +31,4 @@ } } ] -} \ No newline at end of file +} diff --git a/services/core/BUILD.gn b/services/core/BUILD.gn index 58b62113f269598e1b5eba8bdd3559b65bee89d1..30b809608647bbe173df4a9c1715f189941f498d 100644 --- a/services/core/BUILD.gn +++ b/services/core/BUILD.gn @@ -60,7 +60,6 @@ ohos_shared_library("distributed_device_profile_svr") { cflags = [ "-fPIC", - "-fstack-protector-strong", "-D_FORTIFY_SOURCE=2", "-O2", ]