From 8cb8560a610535b91c5aed5c654517e61a302b41 Mon Sep 17 00:00:00 2001 From: songnannan Date: Thu, 9 Jan 2020 12:06:07 +0800 Subject: [PATCH] optimization the spec --- art_config.h | 14 -------------- libart-multilib.patch | 33 --------------------------------- 2 files changed, 47 deletions(-) delete mode 100644 art_config.h delete mode 100644 libart-multilib.patch diff --git a/art_config.h b/art_config.h deleted file mode 100644 index 4747ada..0000000 --- a/art_config.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef LIBART_MULTILIB -#define LIBART_MULTILIB - -#include - -#if __WORDSIZE == 32 -# include "art_config-32.h" -#elif __WORDSIZE == 64 -# include "art_config-64.h" -#else -# error "unexpected value for __WORDSIZE macro" -#endif - -#endif diff --git a/libart-multilib.patch b/libart-multilib.patch deleted file mode 100644 index 0798e15..0000000 --- a/libart-multilib.patch +++ /dev/null @@ -1,33 +0,0 @@ ---- libart_lgpl-2.3.17/libart-config.in.multilib 2006-07-27 18:02:06.000000000 -0400 -+++ libart_lgpl-2.3.17/libart-config.in 2006-07-27 18:02:11.000000000 -0400 -@@ -1,7 +1,9 @@ - #!/bin/sh - --prefix=@prefix@ --exec_prefix=@exec_prefix@ -+includedir=`pkg-config --variable includedir libart-2.0` -+libdir=`pkg-config --variable libdir libart-2.0` -+prefix=`pkg-config --variable prefix libart-2.0` -+exec_prefix=`pkg-config --variable exec_prefix libart-2.0` - exec_prefix_set=no - - usage="\ -@@ -36,15 +38,13 @@ - echo $exec_prefix - ;; - --version) -- echo @LIBART_VERSION@ -+ pkg-config --modversion libart-2.0 - ;; - --cflags) -- includes=-I@includedir@/libart-2.0 -- echo $includes -+ echo -I$includedir/libart-2.0 - ;; - --libs) -- libdirs=-L@libdir@ -- echo $libdirs -lart_lgpl_2 -lm -+ echo -L$libdir -lart_lgpl_2 -lm - ;; - *) - echo "${usage}" 1>&2