This is an automated email from the ASF dual-hosted git repository.

shoothzj pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new b4ffa20a1f build: remove unused cpp library rt (#4338)
b4ffa20a1f is described below

commit b4ffa20a1f39b16cb7a91cbf8524a9ba2acd935f
Author: ZhangJian He <[email protected]>
AuthorDate: Mon May 6 16:03:16 2024 +0800

    build: remove unused cpp library rt (#4338)
    
    ### Motivation
    
    Fix build warnings, and `librt` is not used.
    
    ```
    [INFO] --- nar-maven-plugin:3.5.2:nar-compile (default-nar-compile) @ 
circe-checksum ---
    [INFO] Compiling 2 native files
    [WARNING] No file matching patterns ("librt.a, librt.so) for library name 
"rt" was found.
    [INFO] 2 total files to be compiled.
    ```
    
    Signed-off-by: shoothzj <[email protected]>
---
 circe-checksum/pom.xml | 3 ---
 cpu-affinity/pom.xml   | 3 ---
 native-io/pom.xml      | 3 ---
 3 files changed, 9 deletions(-)

diff --git a/circe-checksum/pom.xml b/circe-checksum/pom.xml
index 55b888a86c..9f9ca5f0c6 100644
--- a/circe-checksum/pom.xml
+++ b/circe-checksum/pom.xml
@@ -187,9 +187,6 @@
             <extensions>true</extensions>
             <configuration>
               <skip>false</skip>
-              <linker>
-                <libSet>rt</libSet>
-              </linker>
             </configuration>
           </plugin>
         </plugins>
diff --git a/cpu-affinity/pom.xml b/cpu-affinity/pom.xml
index 37ead574bd..5ba9bc95de 100644
--- a/cpu-affinity/pom.xml
+++ b/cpu-affinity/pom.xml
@@ -190,9 +190,6 @@
                 <rtti>false</rtti>
                 <optimize>full</optimize>
               </cpp>
-              <linker>
-                <libSet>rt</libSet>
-              </linker>
             </configuration>
           </plugin>
         </plugins>
diff --git a/native-io/pom.xml b/native-io/pom.xml
index 3f7126dc37..6c7c7fe9f0 100644
--- a/native-io/pom.xml
+++ b/native-io/pom.xml
@@ -178,9 +178,6 @@
                 <rtti>false</rtti>
                 <optimize>full</optimize>
               </cpp>
-              <linker>
-                <libSet>rt</libSet>
-              </linker>
             </configuration>
           </plugin>
         </plugins>

Reply via email to