ippusbxd: fix cflags -O2 not -o2
This commit is contained in:
parent
4670c4409e
commit
4d2890dcd4
2 changed files with 13 additions and 1 deletions
12
srcpkgs/ippusbxd/patches/fix-cflags.patch
Normal file
12
srcpkgs/ippusbxd/patches/fix-cflags.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: src/CMakeLists.txt
|
||||
===================================================================
|
||||
--- src/CMakeLists.txt.orig
|
||||
+++ src/CMakeLists.txt
|
||||
@@ -1,6 +1,6 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
project(ippusbxd)
|
||||
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -o2 -g -std=c99 -Wall -Wextra -pedantic -pedantic-errors")
|
||||
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99 -Wall -Wextra -pedantic -pedantic-errors")
|
||||
|
||||
|
||||
# Compiler specific configuration
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ippusbxd'
|
||||
pkgname=ippusbxd
|
||||
version=1.34
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc=src
|
||||
build_style=cmake
|
||||
make_cmd=make
|
||||
|
|
Loading…
Reference in a new issue