13 lines
185 B
Bash
Executable File
13 lines
185 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
patch -p1 < rootless-amdgpu.patch
|
|
|
|
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
|
|
export CFLAGS="$CFLAGS -fcommon"
|
|
|
|
./configure \
|
|
--prefix=/usr
|
|
|
|
make
|
|
make DESTDIR="$1" install
|