[arch-commits] Commit in mujs/trunk (010-mujs-use-arch-flags.patch PKGBUILD)

Daniel Bermond dbermond at archlinux.org
Wed Apr 14 19:27:02 UTC 2021


    Date: Wednesday, April 14, 2021 @ 19:27:02
  Author: dbermond
Revision: 918786

upgpkg: mujs 1.1.1-1

Modified:
  mujs/trunk/010-mujs-use-arch-flags.patch
  mujs/trunk/PKGBUILD

-------------------------------+
 010-mujs-use-arch-flags.patch |   17 ++++++++++++-----
 PKGBUILD                      |    6 +++---
 2 files changed, 15 insertions(+), 8 deletions(-)

Modified: 010-mujs-use-arch-flags.patch
===================================================================
--- 010-mujs-use-arch-flags.patch	2021-04-14 19:10:12 UTC (rev 918785)
+++ 010-mujs-use-arch-flags.patch	2021-04-14 19:27:02 UTC (rev 918786)
@@ -1,11 +1,18 @@
 --- a/Makefile
 +++ b/Makefile
-@@ -30,9 +30,6 @@ ifeq "$(build)" "debug"
- else ifeq "$(build)" "sanitize"
-   CFLAGS += -pipe -g -fsanitize=address -fno-omit-frame-pointer
+@@ -17,7 +17,7 @@ endif
+ 
+ # Compiler flags for various configurations:
+ 
+-CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
++CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
+ 
+ ifeq "$(CC)" "clang"
+   CFLAGS += -Wunreachable-code
+@@ -34,7 +34,6 @@ else ifeq "$(build)" "sanitize"
    LDFLAGS += -fsanitize=address
--else ifeq "$(build)" "release"
--  CFLAGS += -Os
+ else ifeq "$(build)" "release"
+   CFLAGS += -O2
 -  LDFLAGS += -Wl,-s
  endif
  

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-04-14 19:10:12 UTC (rev 918785)
+++ PKGBUILD	2021-04-14 19:27:02 UTC (rev 918786)
@@ -1,7 +1,7 @@
 # Maintainer: Daniel Bermond <dbermond at archlinux.org>
 
 pkgname=mujs
-pkgver=1.1.0
+pkgver=1.1.1
 pkgrel=1
 pkgdesc='An embeddable Javascript interpreter in C'
 arch=('x86_64')
@@ -10,8 +10,8 @@
 depends=('readline')
 source=("https://github.com/ccxvii/mujs/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz"
         '010-mujs-use-arch-flags.patch')
-sha256sums=('8e43a38fdea75f036a9f3213e346a6c304206b4e3d00886564fb6bf70c1c2807'
-            '2302a94a9a46135223320b7f824e0528017cfe3031d63028d5d65d6c9305b91b')
+sha256sums=('ade588c10e1cbed1eaca933a89f3199a1e6b826a6a00b48dc29b99630f017764'
+            'aa60ade4da8d0ef5261bf6c2e73b170ba47931ae6fc2cad61b5959cdb780c744')
 
 prepare() {
     patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/010-mujs-use-arch-flags.patch"



More information about the arch-commits mailing list