Skip to content

Commit

Permalink
ports/mlibc: Bump revision and enable RELR for world
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsuki committed Oct 17, 2024
1 parent bba32a9 commit 6d68d67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion jinx-config
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#! /bin/sh

JINX_MAJOR_VER=0.4

HOST_CFLAGS="-O2 -pipe -fstack-clash-protection"
HOST_CXXFLAGS="${HOST_CFLAGS} -Wp,-D_GLIBCXX_ASSERTIONS"
HOST_LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now"
HOST_LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs"

TARGET_CFLAGS="$HOST_CFLAGS"
TARGET_CXXFLAGS="$HOST_CXXFLAGS"
Expand Down
4 changes: 2 additions & 2 deletions recipes/mlibc
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#! /bin/sh

name=mlibc
version=b7e6c6aaa90dc5316d88bccb0477f59232c88ba5
version=899e715b42f97c4cb617fe6a075ab789141c6a82
revision=1
tarball_url="https://github.com/managarm/mlibc/archive/${version}.tar.gz"
tarball_blake2b="b9452391d98506264c7d89d6f8e7709d1b9e34779f21a4a4b1eff412be750233787703022225ac967c4624c4ff5f1fb5d5eccd6ef6fedbfeefc2b5d0660446b7"
tarball_blake2b="2c02ab08bbcac6d3d7220069594af0007a34738d047bf82fb3e7fcbe8022c3b6f2b3cd0a954c011d347f9fe43779d79aac2e6db56abb15df83fc9fa7c4928120"
imagedeps="meson ninja-build"
hostdeps="gcc pkg-config libgcc-binaries"
builddeps="freestnd-c-hdrs freestnd-cxx-hdrs frigg"
Expand Down

0 comments on commit 6d68d67

Please sign in to comment.