![Joel Carlson](/assets/img/avatar_default.png)
Adds the libcorrect package. Libcorrect by default builds a shared library, so require shared libraries. We add a patch to make sure -Wpedantic is only used if supported by the C compiler (gcc < 4.8 didn't support it). Signed-off-by: Joel Carlson <JoelsonCarl@gmail.com> [Thomas: add a patch to use -Wpedantic only if available, instead of depending on gcc >= 4.8.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
14 lines
442 B
Makefile
14 lines
442 B
Makefile
################################################################################
|
|
#
|
|
# libcorrect
|
|
#
|
|
################################################################################
|
|
|
|
LIBCORRECT_VERSION = ce6c17f1f988765ae3695315d7cce1f2a2e6cf0d
|
|
LIBCORRECT_SITE = $(call github,quiet,libcorrect,$(LIBCORRECT_VERSION))
|
|
LIBCORRECT_LICENSE = BSD-3-Clause
|
|
LIBCORRECT_LICENSE_FILES = LICENSE
|
|
LIBCORRECT_INSTALL_STAGING = YES
|
|
|
|
$(eval $(cmake-package))
|